
.koharu-comments {
    --kc-text: hsl(var(--foreground, 222 47% 11%));
    --kc-muted: hsl(var(--muted-foreground, 215 16% 47%));
    --kc-line: hsl(var(--border, 214 32% 91%));
    --kc-primary: hsl(var(--primary, 210 79% 65%));
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--kc-text);
}

.koharu-comments-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.koharu-comments-count {
    font-size: .75rem;
    font-weight: 600;
    padding: .1rem .5rem;
    border-radius: 999px;
    background: color-mix(in oklab, var(--kc-primary) 18%, transparent);
    color: var(--kc-primary);
}

.koharu-comment-list {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.koharu-comment {
    border: 1px solid var(--kc-line);
    border-radius: .75rem;
    padding: .85rem 1rem;
    background: color-mix(in oklab, var(--kc-line) 22%, transparent);
}

.koharu-comment-head {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    margin-bottom: .35rem;
}

.koharu-comment-name {
    color: var(--kc-primary);
}

.koharu-comment-date {
    font-size: .75rem;
    color: var(--kc-muted);
}

.koharu-comment-body {
    font-size: .9rem;
    line-height: 1.75;
    word-break: break-word;
}

.koharu-comment-empty {
    font-size: .875rem;
    color: var(--kc-muted);
}

.koharu-comment-form {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    margin-top: .5rem;
}

.koharu-comment-fields {
    display: grid;
    gap: .65rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.koharu-comment-form input,
.koharu-comment-form textarea {
    width: 100%;
    border: 1px solid var(--kc-line);
    border-radius: .75rem;
    padding: .55rem .8rem;
    font-size: .875rem;
    background: transparent;
    color: inherit;
    outline: none;
    transition: border-color .2s ease;
}

.koharu-comment-form input:focus,
.koharu-comment-form textarea:focus {
    border-color: var(--kc-primary);
}

.koharu-comment-form textarea {
    resize: vertical;
    min-height: 96px;
}

.koharu-comment-submit {
    align-self: flex-end;
    border: none;
    cursor: pointer;
    padding: .5rem 1.1rem;
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 600;
    color: #fff;
    background: var(--kc-primary);
    transition: transform .2s ease, opacity .2s ease;
}

.koharu-comment-submit:hover {
    opacity: .9;
    transform: translateY(-1px);
}


.koharu-friends {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    margin-top: 1rem;
}

.koharu-friend {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: .85rem 1rem;
    border: 1px solid hsl(var(--border, 214 32% 91%));
    border-radius: .75rem;
    text-decoration: none;
    color: inherit;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.koharu-friend:hover {
    transform: translateY(-2px);
    border-color: hsl(var(--primary, 210 79% 65%));
    box-shadow: 0 12px 24px -18px hsl(var(--primary, 210 79% 65%));
}

.koharu-friend-name {
    font-weight: 600;
    color: hsl(var(--primary, 210 79% 65%));
}

.koharu-friend-desc {
    font-size: .8rem;
    line-height: 1.6;
    color: hsl(var(--muted-foreground, 215 16% 47%));
}


.koharu-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-top: 1.75rem;
}

.koharu-page-btn {
    min-width: 2.25rem;
    padding: .35rem .75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .8125rem;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid hsl(var(--border, 214 32% 91%));
    color: hsl(var(--foreground, 222 47% 11%));
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.koharu-page-btn:hover {
    transform: translateY(-1px);
    border-color: hsl(var(--primary, 210 79% 65%));
    color: hsl(var(--primary, 210 79% 65%));
}

.koharu-page-btn.is-current {
    background: hsl(var(--primary, 210 79% 65%));
    border-color: hsl(var(--primary, 210 79% 65%));
    color: #fff;
}





.prose pre {
    position: relative !important;
    background-color: #f8fafc !important;
    color: #1e293b !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 0 0 0.875rem 0.875rem !important;
    margin: 0 !important;
    padding: 1.125rem 1.25rem !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
    font-size: 0.875rem !important;
    line-height: 1.7 !important;
    font-feature-settings: "liga" 0 !important;
    tab-size: 4 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

.prose pre code {
    background-color: transparent !important;
    color: #1e293b !important;
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    padding: 0 !important;
    border: none !important;
    display: inline-block !important;
    min-width: 100% !important;
    white-space: pre !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}


.dark .prose pre {
    background-color: #14171d !important;
    color: #e2e8f0 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4) !important;
}

.dark .prose pre code {
    color: #e2e8f0 !important;
    background-color: transparent !important;
}


.prose :not(pre) > code {
    background-color: rgba(225, 29, 72, 0.07) !important;
    color: #e11d48 !important;
    border: 1px solid rgba(225, 29, 72, 0.16) !important;
    padding: 0.15rem 0.45rem !important;
    border-radius: 0.375rem !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
    font-size: 0.85em !important;
    font-weight: 500 !important;
    word-break: break-word !important;
    vertical-align: 0.05em !important;
}

.dark .prose :not(pre) > code {
    background-color: rgba(251, 113, 133, 0.12) !important;
    color: #fda4af !important;
    border: 1px solid rgba(251, 113, 133, 0.25) !important;
}


.code-block-wrapper {
    position: relative;
    margin: 1.5rem 0;
    border-radius: 0.875rem;
    overflow: hidden;
    box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.dark .code-block-wrapper {
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.code-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.875rem;
    background-color: #eef2f6;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    user-select: none;
}

.dark .code-block-header {
    background-color: #1b1f27;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.code-mac-dots {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.code-mac-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 9999px;
    display: inline-block;
}

.code-mac-dot.close { background-color: #ff5f56; }
.code-mac-dot.min { background-color: #ffbd2e; }
.code-mac-dot.max { background-color: #27c93f; }

.code-lang-tag {
    font-family: ui-monospace, SFMono-Regular, monospace;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(100, 116, 139, 0.85);
    text-transform: uppercase;
}

.dark .code-lang-tag {
    color: rgba(148, 163, 184, 0.85);
}

.code-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: #64748b;
    padding: 0.2rem 0.5rem;
    border-radius: 0.375rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.code-copy-btn:hover {
    color: hsl(var(--primary));
    background-color: rgba(0, 0, 0, 0.05);
}

.dark .code-copy-btn {
    color: #94a3b8;
}

.dark .code-copy-btn:hover {
    color: hsl(var(--primary));
    background-color: rgba(255, 255, 255, 0.06);
}

.code-copy-btn.copied {
    color: #10b981 !important;
}


.table-wrapper {
    margin: 1.5rem 0;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.dark .table-wrapper {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: rgba(20, 24, 31, 0.4);
}

.custom-content table {
    display: table !important;
    width: 100% !important;
    table-layout: auto !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    font-size: 0.875rem !important;
    margin: 0 !important;
}

.custom-content thead th {
    background-color: rgba(0, 0, 0, 0.03) !important;
    color: rgba(30, 41, 59, 0.9) !important;
    font-weight: 700 !important;
    font-size: 0.8125rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    white-space: nowrap !important;
    text-align: left;
}

.dark .custom-content thead th {
    background-color: rgba(255, 255, 255, 0.04) !important;
    color: rgba(241, 245, 249, 0.9) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.custom-content tbody td {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    color: inherit !important;
    line-height: 1.6 !important;
    vertical-align: middle;
}

.dark .custom-content tbody td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}

.custom-content tbody tr:last-child td {
    border-bottom: none !important;
}

.custom-content tbody tr:hover {
    background-color: rgba(107, 168, 224, 0.04) !important;
}


.custom-content blockquote {
    position: relative !important;
    margin: 1.5rem 0 !important;
    padding: 1rem 1.25rem 1rem 3rem !important;
    border-radius: 0.875rem !important;
    border-left: 4px solid hsl(var(--primary, 210 79% 65%)) !important;
    background: rgba(107, 168, 224, 0.06) !important;
    color: rgba(51, 65, 85, 0.9) !important;
    font-style: normal !important;
}

.dark .custom-content blockquote {
    background: rgba(107, 168, 224, 0.08) !important;
    color: rgba(226, 232, 240, 0.9) !important;
}

.custom-content blockquote::before {
    content: "“" !important;
    position: absolute !important;
    top: 0.25rem !important;
    left: 0.75rem !important;
    font-size: 2.5rem !important;
    font-family: Georgia, serif !important;
    line-height: 1 !important;
    color: hsl(var(--primary, 210 79% 65%)) !important;
    opacity: 0.45 !important;
    pointer-events: none !important;
}


.custom-content hr {
    margin: 2.25rem auto !important;
    height: 1px !important;
    border: none !important;
    background: linear-gradient(to right, transparent, rgba(107, 168, 224, 0.4), transparent) !important;
}


.custom-content img {
    border-radius: 1rem !important;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.08) !important;
    margin: 1.5rem auto !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.custom-content img:hover {
    transform: scale(1.01) !important;
    box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.12) !important;
}


html, body {
    overflow-x: clip !important;
    max-width: 100vw !important;
}

.wave-wrap {
    overflow: hidden !important;
}


astro-island[opts*="FloatingGroup"] > div,
.fixed.right-4.bottom-4 {
    right: max(1rem, env(safe-area-inset-right)) !important;
    bottom: max(1rem, env(safe-area-inset-bottom)) !important;
}


.badge-blogger,
.bg-gradient-to-r.from-primary.to-rose-400 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.15rem 0.5rem !important;
    font-size: 0.6875rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    border-radius: 0.375rem !important;
    background: linear-gradient(135deg, hsl(var(--primary, 210 79% 65%)) 0%, #f43f5e 100%) !important;
    box-shadow: 0 1px 3px rgba(244, 63, 94, 0.25) !important;
    user-select: none !important;
    white-space: nowrap !important;
}



.size-16 { width: 4rem; height: 4rem; }
.size-32 { width: 8rem; height: 8rem; }
.size-36 { width: 9rem; height: 9rem; }
.hover\:rotate-6:hover { rotate: 6deg; }

.koharu-myinfo-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card) / 0.85);
    backdrop-filter: blur(12px);
    padding: 1.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
    .koharu-myinfo-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
}

.koharu-myinfo-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}

.koharu-myinfo-box {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border-radius: 1rem;
    background-color: hsl(var(--muted) / 0.4);
    padding: 1.125rem 1.25rem;
    border: 1px solid hsl(var(--border) / 0.5);
}


.koharu-myinfo-box img {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    border-radius: 1rem;
}

@media (max-width: 640px) {
    .koharu-myinfo-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.875rem;
        padding: 1rem;
    }
}


.koharu-friend-form-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    padding: 1.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .koharu-friend-form-card {
        padding: 1.25rem;
    }
}

.koharu-friend-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.75rem;
}

@media (max-width: 960px) {
    .koharu-friend-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }
}

.koharu-form-header {
    margin-bottom: 1.5rem;
}

.koharu-form-header h2 {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: hsl(var(--foreground));
}

.koharu-form-header p {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    line-height: 1.5;
}

.koharu-form-fields {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}

.koharu-form-row-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 480px) {
    .koharu-form-row-2 {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.125rem;
    }
}

.koharu-field-group {
    display: flex;
    flex-direction: column;
}

.koharu-field-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.5rem;
    line-height: 1;
}

.koharu-field-input,
.koharu-field-textarea {
    width: 100%;
    border-radius: 0.75rem;
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--muted) / 0.4);
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.koharu-field-input {
    height: 2.625rem;
    line-height: 1.25rem;
}

.koharu-field-textarea {
    min-height: 5.5rem;
    resize: none;
    line-height: 1.5;
}

.koharu-field-input:focus,
.koharu-field-textarea:focus {
    outline: none;
    background-color: hsl(var(--background));
    border-color: hsl(var(--primary) / 0.5);
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.15);
}

.koharu-field-input::placeholder,
.koharu-field-textarea::placeholder {
    color: hsl(var(--muted-foreground) / 0.6);
    font-weight: 400;
}


.koharu-color-picker-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 2.625rem;
}

.koharu-color-swatch-box {
    position: relative;
    width: 2.625rem;
    height: 2.625rem;
    flex-shrink: 0;
    border-radius: 0.75rem;
    border: 1px solid hsl(var(--border));
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    cursor: pointer;
}

.koharu-color-swatch-box:hover {
    transform: scale(1.05);
}

.koharu-color-swatch-box input[type="color"] {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    cursor: pointer;
    border: 0;
    padding: 0;
    margin: 0;
}

.koharu-color-text-input {
    flex: 1;
    min-width: 0;
    height: 2.625rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}


.koharu-preview-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 1rem;
    background-color: hsl(var(--muted) / 0.5);
    padding: 1.5rem;
    border: 1px solid hsl(var(--border) / 0.6);
}

@media (max-width: 768px) {
    .koharu-preview-panel {
        padding: 1.25rem;
    }
}

.koharu-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.koharu-preview-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: hsl(var(--foreground)) !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin: 0 !important;
    line-height: 1.5 !important;
    flex-shrink: 0 !important;
}

.koharu-preview-title * {
    white-space: nowrap !important;
    word-break: keep-all !important;
}

.koharu-preview-code-box {
    position: relative;
    flex: 1;
    overflow: hidden;
    border-radius: 0.75rem;
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--background) / 0.95);
    padding: 1rem 1.125rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.koharu-preview-code-box pre {
    margin: 0;
    white-space: pre-wrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.8125rem;
    line-height: 1.7;
    font-weight: 500;
    color: hsl(var(--foreground) / 0.85);
    user-select: all;
}

.koharu-preview-actions {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-top: 1.5rem;
}

.koharu-paste-comment-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, #38bdf8 100%);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px -2px hsl(var(--primary) / 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.koharu-paste-comment-btn:hover {
    opacity: 0.95;
    box-shadow: 0 4px 12px -2px hsl(var(--primary) / 0.5);
    transform: translateY(-1px);
}

.koharu-paste-comment-btn:active {
    transform: scale(0.98);
}

.koharu-preview-tip {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background-color: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.5;
}


.friends-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.875rem;
}

@media (max-width: 1199px) {
    .friends-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .friends-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.625rem;
    }
}

.friend-card {
    background: color-mix(in oklab, hsl(var(--muted)) 45%, hsl(var(--card)));
    min-width: 0;
    box-shadow: inset 0 0 0 1px hsl(var(--border) / 0.6);
    color: hsl(var(--foreground));
    border-radius: 1rem;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    transition: background-color 0.24s, box-shadow 0.24s, transform 0.24s;
    display: flex;
    position: relative;
    text-decoration: none !important;
}

.friend-card:hover {
    background: color-mix(in oklab, var(--friend-color, #9ec8ef) 10%, hsl(var(--card)));
    box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--friend-color, #9ec8ef) 40%, hsl(var(--border))), 0 10px 24px -16px color-mix(in oklab, var(--friend-color, #9ec8ef) 80%, transparent);
}

.friend-card:hover .friend-name {
    color: color-mix(in oklab, var(--friend-color, #9ec8ef) 65%, hsl(var(--foreground)));
}

html:not(.dark) .friend-card:hover .friend-name {
    color: color-mix(in oklab, var(--friend-color, #9ec8ef) 35%, hsl(var(--foreground)));
}

.friend-avatar {
    background: hsl(var(--card));
    width: 3.5rem;
    height: 3.5rem;
    box-shadow: 0 0 0 2px hsl(var(--card)), 0 0 0 3.5px color-mix(in oklab, var(--friend-color, #9ec8ef) 70%, transparent);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    transition: transform 0.42s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.24s;
}

.friend-card:hover .friend-avatar {
    box-shadow: 0 0 0 2px hsl(var(--card)), 0 0 0 4px var(--friend-color, #9ec8ef), 0 6px 16px -6px color-mix(in oklab, var(--friend-color, #9ec8ef) 80%, transparent);
    transform: rotate(-8deg) scale(1.06);
}

.friend-copy {
    flex-direction: column;
    flex: 1;
    gap: 0.25rem;
    min-width: 0;
    display: flex;
}

.friend-heading {
    align-items: baseline;
    gap: 0.5rem;
    min-width: 0;
    padding-right: 1rem;
    display: flex;
}

.friend-name {
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 0;
    max-width: 70%;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.2s;
    overflow: hidden;
}

.friend-site {
    min-width: 0;
    color: hsl(var(--muted-foreground));
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.75rem;
    overflow: hidden;
}

.friend-desc {
    color: hsl(var(--muted-foreground));
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 0.8125rem;
    line-height: 1.5;
    display: -webkit-box;
    overflow: hidden;
}

.friend-arrow {
    width: 0.875rem;
    height: 0.875rem;
    color: color-mix(in oklab, var(--friend-color, #9ec8ef) 70%, hsl(var(--foreground)));
    opacity: 0;
    position: absolute;
    top: 0.625rem;
    right: 0.625rem;
    transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s;
    transform: translate(-4px, 4px);
}

.friend-card:hover .friend-arrow {
    opacity: 1;
    transform: translate(0);
}


#site-header nav button[aria-haspopup="true"] > svg:last-child {
  display: none;
}
#site-header nav button[aria-haspopup="true"] {
  padding-right: .75rem;
}


@media (max-width: 640px) {
  .cover-copy h1 {
    font-size: 1.875rem !important;
    line-height: 1.2 !important;
    letter-spacing: .08em !important;
    overflow-wrap: anywhere;
  }
  .cover-copy h2 {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere;
  }
  .cover-copy p {
    max-width: 92% !important;
    font-size: .7rem !important;
    letter-spacing: .08em !important;
    overflow-wrap: anywhere;
  }
}
