@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300..700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
    --ink: #0f172a;
    --subtle: #475569;
    --paper: #f8fafc;
    --line: #e2e8f0;
    --card: #ffffff;
    --max: 860px;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Manrope, sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.7;
}
.page {
    width: min(100% - 2rem, var(--max));
    margin: 2rem auto 3rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.25rem 1.4rem;
}
h1, h2 {
    font-family: Fraunces, serif;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h2 { font-size: clamp(1.2rem, 3vw, 1.6rem); margin-top: 2rem; }
a { color: #0f172a; }
li { margin: 0.4rem 0; }

/* Custom Share Buttons */
.custom-share {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--line);
}
.custom-share-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--subtle);
    text-transform: uppercase;
}
.share-btn {
    width: 30px !important;
    height: 30px !important;
    border-radius: 6px !important;
    border: 1px solid var(--line) !important;
    background: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    color: var(--ink) !important;
    padding: 0 !important;
    text-decoration: none !important;
}
.share-btn:hover {
    background: var(--paper) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
}
.share-btn svg {
    width: 14px !important;
    height: 14px !important;
    display: block !important;
}
.copy-success {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--ink);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    z-index: 100;
    animation: fadeInOut 2s ease-in-out forwards;
}
@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(10px); }
    15% { opacity: 1; transform: translateY(0); }
    85% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}
