:root { color-scheme: light; --ink:#14364e; --deep:#073a5c; --blue:#0067a7; --muted:#4d6573; --line:#b7cbd5; --pale:#eef6fa; --paper:#fff; --gold:#f6c700; --gold-dark:#a34d00; --orange:#e97600; }
    * { box-sizing:border-box; }
    html { scroll-behavior:smooth; scroll-padding-top:10rem; }
    body { margin:0; background:var(--paper); color:var(--ink); font-family:Arial, Helvetica, sans-serif; font-size:1rem; line-height:1.55; }
    a { color:inherit; }
    a:focus-visible { outline:3px solid var(--gold); outline-offset:4px; }
    .skip { position:absolute; top:-5rem; left:1rem; z-index:100; padding:.6rem 1rem; background:#fff; color:var(--ink); }
    .skip:focus { top:1rem; }
    .wrap { width:min(100% - 3rem, 1200px); margin-inline:auto; }
    .site-header { position:sticky; top:0; z-index:50; background:var(--blue); color:#fff; border-bottom:1px solid #07517f; }
    .header-inner { min-height:92px; display:flex; align-items:center; justify-content:space-between; gap:2rem; }
    .brand { display:flex; align-items:center; gap:.9rem; text-decoration:none; font-weight:700; letter-spacing:.015em; font-size:1.05rem; line-height:1.2; }
    .brand-mark { display:grid; place-items:center; width:40px; height:40px; flex:none; border:2px solid var(--gold); color:#fff; font:700 1.12rem Georgia,serif; }
    nav { display:flex; flex-wrap:wrap; gap:clamp(1rem,3vw,2.3rem); align-items:center; }
    nav a { font-size:.91rem; font-weight:700; text-decoration:none; color:inherit; }
    nav a:hover, nav a[aria-current="page"] { text-decoration:underline; text-decoration-color:currentColor; text-underline-offset:.4rem; }
    .site-header nav a { color:#d7e4ea; }
    .site-header nav a:hover, .site-header nav a[aria-current="page"] { color:#fff; text-decoration-color:var(--gold); }
    .hero { background:linear-gradient(120deg,var(--deep) 0%,#005486 100%); color:#fff; overflow:hidden; border-top:4px solid var(--orange); }
    .hero-grid { display:grid; grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr); gap:clamp(2.5rem,7vw,7rem); padding-block:clamp(5rem,9vw,9rem) clamp(5rem,9vw,8rem); }
    .eyebrow { margin:0 0 1.5rem; color:var(--gold); text-transform:uppercase; letter-spacing:.17em; font-size:.8rem; font-weight:800; }
    h1,h2,h3,p { margin-top:0; }
    h1,h2,.serif { font-family:Georgia, 'Times New Roman', serif; font-weight:400; }
    h1 { max-width:780px; font-size:clamp(2rem, 1.4rem + 2vw, 3rem); letter-spacing:-.055em; line-height:1.03; margin-bottom:1.9rem; }
    h1 em { color:var(--gold); font-style:normal; }
    .hero-lead { max-width:610px; font-size:clamp(1.12rem,1.7vw,1.34rem); line-height:1.55; color:#d0e0e8; margin-bottom:2.25rem; }
    .text-link { display:inline-flex; gap:.8rem; align-items:center; min-height:44px; text-decoration:none; font-weight:700; border-bottom:2px solid var(--gold); padding-bottom:.25rem; }
    .text-link:hover { color:inherit; text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:.25em; }
    .hero-aside { align-self:end; padding:2rem 0 0 2.2rem; border-left:2px solid var(--orange); }
    .aside-title { color:var(--gold); text-transform:uppercase; letter-spacing:.16em; font-size:.78rem; font-weight:800; margin-bottom:1.75rem; }
    .step { border-top:1px solid #5c7482; padding:1.15rem 0 1.35rem; display:grid; grid-template-columns:2.3rem 1fr; gap:.8rem; }
    .step .number { color:var(--gold); font-size:.8rem; font-weight:700; padding-top:.22rem; }
    .step strong { display:block; font-size:1.06rem; margin-bottom:.2rem; }
    .step p { color:#c7d6dd; font-size:.94rem; line-height:1.45; margin:0; }
    .section { padding-block:clamp(5rem,8vw,8rem); }
    .section-intro { display:grid; grid-template-columns:minmax(0,.52fr) minmax(0,1fr); gap:3rem; align-items:end; margin-bottom:3rem; }
    .section-label { text-transform:uppercase; letter-spacing:.16em; color:var(--gold-dark); font-size:.79rem; font-weight:800; margin:0; }
    h2 { font-size:clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem); letter-spacing:-.045em; line-height:1.1; margin:0; }
    .section-intro p:last-child { color:var(--muted); font-size:1.16rem; max-width:640px; margin:0; }
    .method-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.25rem; }
    .method { border:1px solid var(--line); padding:clamp(1.5rem,3.5vw,3rem); min-height:340px; display:flex; flex-direction:column; }
    .method .index { color:var(--gold-dark); font-size:.79rem; text-transform:uppercase; font-weight:800; letter-spacing:.15em; margin-bottom:3.5rem; }
    .method h3 { font-family:Georgia,serif; font-size:clamp(1.25rem, 1.05rem + 1vw, 1.75rem); font-weight:400; line-height:1.12; letter-spacing:-.035em; margin-bottom:1rem; }
    .method p { font-size:1.08rem; color:#435c69; max-width:510px; margin:0; }
    .method-dark { background:var(--ink); color:#fff; border-color:var(--ink); }
    .method-dark p { color:#cddbe2; }
    .method-dark .index { color:var(--gold); }
    .note { display:flex; align-items:baseline; gap:1.5rem; border-bottom:1px solid var(--line); padding:1.6rem 0; }
    .note strong { flex:0 0 17rem; font-size:.95rem; text-transform:uppercase; letter-spacing:.08em; }
    .note p { color:var(--muted); font-size:1.05rem; margin:0; }
    .guides { background:var(--pale); border-top:4px solid var(--orange); }
    .guide-list { border-top:1px solid #a9bdc8; }
    .guide { display:grid; grid-template-columns:5rem minmax(0,1fr) minmax(200px,.65fr); gap:2rem; padding:2.5rem 0; border-bottom:1px solid #a9bdc8; }
    .guide-num { font-size:.82rem; color:var(--gold-dark); font-weight:800; letter-spacing:.12em; padding-top:.4rem; }
    .guide h3 { font-family:Georgia,serif; font-size:clamp(1.25rem, 1.05rem + 1vw, 1.75rem); font-weight:400; letter-spacing:-.035em; line-height:1.13; margin:0; }
    .guide p { margin:.25rem 0 0; font-size:1.02rem; color:#445c68; }
    .books { background:#fff; }
    .book-list { border-top:1px solid var(--line); }
    .book { display:grid; grid-template-columns:128px minmax(0,1fr) auto; gap:2rem; align-items:center; padding:2rem 0; border-bottom:1px solid var(--line); }
    .book>.book-cover { width:128px; height:205px; }
    .book-status { color:var(--gold-dark); text-transform:uppercase; letter-spacing:.12em; font-size:.78rem; font-weight:800; }
    .book h3 { font:400 clamp(1.25rem, 1.05rem + 1vw, 1.75rem)/1.15 Georgia,serif; letter-spacing:-.035em; max-width:760px; margin:1rem 0 .75rem; }
    .book p { color:var(--muted); font-size:1.05rem; margin:0; }
    .book-link { white-space:nowrap; text-decoration:none; font-weight:700; border-bottom:2px solid var(--gold); padding-bottom:.25rem; }
    .book-link:hover { color:var(--gold-dark); }
    @media (max-width:850px) { .book { grid-template-columns:100px minmax(0,1fr); gap:1rem; } .book>.book-cover { width:100px; height:160px; } .book-link { grid-column:2; white-space:normal; justify-self:start; } }
    .courses { background:var(--deep); color:#fff; }
    .courses .section-intro p:last-child { color:#cbdce4; }
    .courses .section-label { color:var(--gold); }
    .course-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.25rem; }
    .course-card { border:1px solid #587081; padding:2rem; min-height:350px; display:flex; flex-direction:column; }
    .course-level { color:var(--gold); text-transform:uppercase; letter-spacing:.12em; font-size:.78rem; font-weight:800; }
    .course-card h3 { font:400 clamp(1.25rem, 1.05rem + 1vw, 1.75rem)/1.15 Georgia,serif; margin:2.5rem 0 1rem; }
    .course-card p { color:#d0e0e8; font-size:1.03rem; }
    .course-status { margin-top:auto; padding-top:1.2rem; border-top:1px solid #587081; font-size:.9rem; font-weight:700; }
    .about-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(3rem,8vw,8rem); }
    .about-grid h2 { max-width:540px; }
    .about-copy { padding-top:.3rem; font-size:1.12rem; color:#344d5b; }
    .about-copy p { margin-bottom:1.3rem; }
    .about-copy p:last-child { margin-bottom:0; }
    .site-footer { background:var(--deep); color:#d0dfe6; padding:2.6rem 0; }
    .footer-inner { display:flex; justify-content:space-between; gap:1.5rem; align-items:center; }
    .footer-inner p { margin:0; font-size:.92rem; }
    .footer-inner a { color:#fff; text-underline-offset:4px; }
    .blog-tease { background:#f4f9fc; border-top:1px solid var(--line); }
    .blog-all .text-link:hover { color:var(--gold-dark); }
    .post-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.25rem; }
    .post-card { min-height:330px; padding:2rem; display:flex; flex-direction:column; text-decoration:none; border:1px solid var(--line); background:#fff; transition:border-color .2s,transform .2s; }
    .post-card:hover { border-color:var(--gold-dark); transform:translateY(-3px); }
    .post-kicker { color:var(--gold-dark); text-transform:uppercase; letter-spacing:.12em; font-size:.78rem; font-weight:800; }
    .post-card h3 { font:400 clamp(1.25rem, 1.05rem + 1vw, 1.75rem)/1.15 Georgia,serif; letter-spacing:-.025em; margin:2.7rem 0 1rem; }
    .post-card p { color:var(--muted); font-size:1rem; margin-bottom:1.5rem; }
    .post-more { margin-top:auto; font-weight:700; border-bottom:2px solid var(--gold); align-self:flex-start; }
    .blog-all { margin:2rem 0 0; }
    .page-lead { background:linear-gradient(120deg,var(--deep) 0%,#005486 100%); color:#fff; padding:clamp(4rem,7vw,7rem) 0; border-top:4px solid var(--orange); }
    .page-lead h1 { max-width:900px; font-size:clamp(2rem, 1.4rem + 2vw, 3rem); }
    .page-lead p:last-child { color:#d0e0e8; font-size:1.22rem; max-width:760px; margin:0; }
    .blog-list { border-top:1px solid var(--line); }
    .blog-row { display:grid; grid-template-columns:minmax(140px,.25fr) 1fr; gap:2rem; text-decoration:none; border-bottom:1px solid var(--line); padding:2.3rem 0; }
    .blog-row:hover h2, .blog-row:hover h3 { color:var(--gold-dark); }
    .blog-row h2, .blog-row h3 { font-size:clamp(1.25rem, 1.05rem + 1vw, 1.75rem); margin-bottom:.65rem; }
    .blog-row p { color:var(--muted); max-width:760px; margin:0; }
    .article-shell { width:min(100% - 3rem, 820px); margin:0 auto; }
    .article-head { padding:clamp(3rem,6vw,5.5rem) 0 2.5rem; border-bottom:1px solid var(--line); }
    .article-head h1 { font-size:clamp(2rem, 1.4rem + 2vw, 3rem); }
    .article-head .dek { font-size:1.26rem; color:var(--blue); max-width:760px; margin:0; }
    .article-meta { margin:0 0 1.25rem; color:var(--gold-dark); font-weight:800; text-transform:uppercase; letter-spacing:.12em; font-size:.79rem; }
    .article-body { padding:2.8rem 0 5rem; font-size:1.1rem; line-height:1.72; }
    .article-body h2 { font-size:clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem); margin:2.8rem 0 1rem; }
    .article-body p, .article-body ul, .article-body ol { margin:0 0 1.35rem; }
    .article-body li { margin-bottom:.7rem; }
    .article-body a { text-underline-offset:3px; }
    .article-body aside { margin:2.5rem 0; padding:1.4rem 1.7rem; background:var(--pale); border-left:4px solid var(--gold-dark); }
    .article-body aside p:last-child { margin:0; }
    .article-end { border-top:1px solid var(--line); padding-top:1.8rem; margin-top:3rem; }
    .article-end a { font-weight:700; }
    @media (max-width:850px) {
      .hero-grid { grid-template-columns:1fr; gap:3rem; }
      .hero-aside { align-self:auto; max-width:620px; }
      .section-intro { grid-template-columns:1fr; gap:1.2rem; }
      .guide { grid-template-columns:3rem 1fr; gap:1rem 1.3rem; }
      .guide p { grid-column:2; margin:0; }
      .about-grid { grid-template-columns:1fr; gap:2rem; }
      .book { grid-template-columns:1fr; gap:1.3rem; }
      .book-link { justify-self:start; }
      .course-grid { grid-template-columns:1fr 1fr; }
      .post-grid { grid-template-columns:1fr 1fr; }
    }
    @media (max-width:620px) {
      html { scroll-padding-top:10rem; }
      .wrap { width:min(100% - 2.2rem,1200px); }
      .header-inner { align-items:flex-start; padding-block:.75rem; flex-direction:column; gap:.7rem; }
      nav { gap:.65rem 1rem; }
      .hero-grid { padding-block:4.2rem 4.8rem; }
      .hero-aside { padding-left:1.3rem; }
      .method-grid { grid-template-columns:1fr; }
      .method { min-height:0; }
      .method .index { margin-bottom:2rem; }
      .note { display:block; }
      .note strong { display:block; margin-bottom:.6rem; }
      .guide { padding:2rem 0; }
      .footer-inner { align-items:flex-start; flex-direction:column; }
      .post-grid { grid-template-columns:1fr; }
      .course-grid { grid-template-columns:1fr; }
      .course-card { min-height:0; }
      .course-card h3 { margin-top:1.7rem; }
      .post-card { min-height:0; }
      .post-card h3 { margin-top:1.7rem; }
      .blog-row { display:block; }
      .blog-row .post-kicker { display:block; margin-bottom:1rem; }
      .article-shell { width:min(100% - 2.2rem,820px); }
    }
    @media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

    /* Author archive */
    .author-hero .hero-grid { grid-template-columns:minmax(0,1.15fr) minmax(290px,.75fr); }
    .author-hero .hero-aside a { color:#fff; text-decoration:none; border-bottom:1px solid var(--gold); }
    .author-hero .hero-aside a:hover { color:var(--gold); }
    .shelf-grid { display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:1.15rem; }
    .shelf-card { min-height:350px; display:flex; flex-direction:column; border:1px solid var(--line); padding:2rem; text-decoration:none; transition:border-color .2s,transform .2s; }
    .shelf-card:hover { border-color:var(--gold-dark); transform:translateY(-3px); }
    .shelf-feature { background:var(--deep); color:#fff; border-color:var(--deep); }
    .shelf-eyebrow { color:var(--gold-dark); font-size:.82rem; font-weight:800; text-transform:uppercase; letter-spacing:.11em; }
    .shelf-feature .shelf-eyebrow { color:var(--gold); }
    .shelf-card h3 { font:400 clamp(1.25rem, 1.05rem + 1vw, 1.75rem)/1.14 Georgia,serif; letter-spacing:-.035em; margin:2.6rem 0 1rem; }
    .shelf-card p { color:var(--muted); font-size:1.04rem; }
    .shelf-feature p { color:#d0dfe6; }
    .shelf-action { margin-top:auto; padding-top:1.6rem; font-weight:700; text-decoration:underline; text-decoration-color:var(--orange); text-underline-offset:.4rem; }
    .collection-band { background:var(--pale); border-top:4px solid var(--orange); }
    .collection-grid { display:grid; grid-template-columns:1.4fr .6fr; gap:clamp(3rem,7vw,7rem); align-items:center; }
    .collection-grid h2 { margin:1.1rem 0 1.7rem; }
    .collection-grid p:not(.section-label) { max-width:690px; color:var(--muted); font-size:1.16rem; }
    .collection-list { border-top:1px solid var(--line); }
    .collection-list span { display:block; padding:1rem 0; border-bottom:1px solid var(--line); font-weight:700; }
    .contact-band { background:var(--pale); border-top:1px solid var(--line); }
    .contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,7vw,7rem); align-items:end; }
    .contact-grid h2 { margin-top:1.2rem; }
    .contact-grid>p { font-size:1.14rem; color:var(--muted); margin:0; }
    .book-section-head { max-width:810px; margin-bottom:2.8rem; }
    .book-section-head h2 { margin:1.2rem 0 1rem; }
    .book-section-head>p:last-child { font-size:1.16rem; color:var(--muted); margin:0; }
    .shelf-subhead { font:400 1.65rem Georgia,serif; margin:3.5rem 0 1.2rem; border-bottom:1px solid var(--line); padding-bottom:.8rem; }
    .upcoming-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.15rem; }
    .upcoming-grid article { padding:1.7rem; border:1px solid var(--line); }
    .upcoming-grid h4 { font:400 1.6rem/1.2 Georgia,serif; margin:1.7rem 0 .8rem; }
    .upcoming-grid p { color:var(--muted); margin:0; }
    .availability-note { margin:2rem 0 0; color:var(--muted); }
    .fiction-band, .worlds-band { background:var(--pale); border-top:4px solid var(--orange); }
    .world-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.15rem; }
    .world-grid article { min-height:210px; padding:1.8rem; border:1px solid var(--line); background:#fff; display:flex; flex-direction:column; }
    .world-grid h3 { font:400 clamp(1.25rem, 1.05rem + 1vw, 1.75rem) Georgia,serif; margin:0; }
    .world-grid p { margin:auto 0 0; color:var(--muted); }
    .game-feature { display:grid; grid-template-columns:1.35fr .65fr; gap:3rem; align-items:center; }
    .game-feature h2 { margin:1.2rem 0 1.4rem; }
    .game-feature p:not(.section-label) { max-width:660px; color:var(--muted); font-size:1.15rem; }
    .game-tile { background:var(--deep); border:7px solid var(--orange); outline:2px solid var(--deep); min-height:300px; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#fff; text-align:center; }
    .game-tile span { font:700 clamp(4rem,7vw,7rem)/1 Georgia,serif; letter-spacing:.05em; }
    .game-tile small { color:var(--gold); font-size:.85rem; font-weight:800; letter-spacing:.2em; margin-top:1rem; }
    @media (max-width:1000px) {
      .header-inner { align-items:flex-start; flex-direction:column; padding-block:.8rem; gap:.7rem; }
      nav { gap:.8rem 1.25rem; }
      .shelf-grid { grid-template-columns:1fr 1fr; }
      .shelf-feature { grid-row:span 2; }
      .upcoming-grid { grid-template-columns:1fr 1fr; }
    }
    @media (max-width:750px) {
      .author-hero .hero-grid, .collection-grid, .contact-grid, .game-feature { grid-template-columns:1fr; }
      .shelf-grid, .upcoming-grid, .world-grid { grid-template-columns:1fr; }
      .shelf-feature { grid-row:auto; }
      .shelf-card { min-height:250px; }
      .game-tile { min-height:230px; }
    }
    @media (max-width:620px) {
      html { scroll-padding-top:13rem; }
      .header-inner { gap:.65rem; }
      .site-header nav { width:100%; overflow-x:auto; flex-wrap:nowrap; white-space:nowrap; padding-bottom:.55rem; }
      .site-header nav a { flex:none; }
    }
    .war-card-back { display:block; width:min(100%,300px); height:auto; aspect-ratio:5/7; justify-self:center; box-shadow:0 18px 35px rgba(7,58,92,.18); }
    .rules-status { font-size:.95rem !important; padding-left:1rem; border-left:3px solid var(--orange); margin:1.6rem 0 !important; }
    .rules-section { background:var(--pale); border-top:4px solid var(--orange); }
    .rules-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.15rem; }
    .rules-grid article { background:#fff; border:1px solid var(--line); padding:2rem; }
    .rule-number { color:var(--gold-dark); font-size:.82rem; text-transform:uppercase; letter-spacing:.12em; font-weight:800; }
    .rules-grid h3 { font:400 clamp(1.25rem, 1.05rem + 1vw, 1.75rem)/1.15 Georgia,serif; margin:1.7rem 0 .8rem; }
    .rules-grid p { color:var(--muted); margin:0; }
    .rule-detail { margin-top:1.15rem; padding:clamp(1.5rem,3vw,3rem); background:var(--deep); color:#fff; }
    .rule-detail h3 { font:400 clamp(1.25rem, 1.05rem + 1vw, 1.75rem)/1.1 Georgia,serif; margin:0 0 1.5rem; }
    .rule-detail dl { margin:0; }
    .rule-detail dl>div { display:grid; grid-template-columns:minmax(180px,.35fr) 1fr; gap:1.5rem; padding:1rem 0; border-top:1px solid #587081; }
    .rule-detail dt { color:var(--gold); font-weight:800; }
    .rule-detail dd { margin:0; color:#d0dfe6; }
    .rule-detail p { border-top:1px solid #587081; padding-top:1.5rem; margin:1rem 0 0; color:#d0dfe6; }
    .rule-detail strong { color:#fff; }
    .game-note { padding-block:2rem 5rem; }
    @media (max-width:750px) {
      .rules-grid { grid-template-columns:1fr; }
      .rule-detail dl>div { grid-template-columns:1fr; gap:.4rem; }
    }

    /* Gaming Group Knight: a small self-contained tabletop archive. */
    .anchor-alias { display:block; position:relative; top:-1rem; height:0; }
    .knight-easter-egg { margin:1.5rem 0 0 auto; width:max-content; max-width:100%; display:flex; align-items:center; gap:.8rem; padding:.35rem .5rem; color:var(--deep); text-decoration:none; font:700 .82rem Arial,sans-serif; letter-spacing:.025em; }
    .knight-easter-egg img { display:block; width:43px; height:51px; transition:transform .25s ease,filter .25s ease; }
    .knight-easter-egg span { opacity:0; transform:translateX(-8px); transition:opacity .25s ease,transform .25s ease; }
    .knight-easter-egg:hover img, .knight-easter-egg:focus-visible img { transform:rotate(-8deg) scale(1.08); filter:drop-shadow(0 4px 5px #18364355); }
    .knight-easter-egg:hover span, .knight-easter-egg:focus-visible span { opacity:1; transform:translateX(0); }
    @media (hover:none) { .knight-easter-egg span { opacity:1; transform:none; } }

    .ggk { --ggk-bg:#111f27; --ggk-blue:#183643; --ggk-gold:#d9b56e; --ggk-ink:#f6f0e2; --ggk-dim:#c9ccca; background:var(--ggk-bg); color:var(--ggk-ink); min-height:100vh; font-family:Arial,Helvetica,sans-serif; }
    .ggk a:focus-visible, .knight-easter-egg:focus-visible { outline:3px solid #f6c700; outline-offset:4px; }
    .ggk-nav-shell { position:sticky; top:0; z-index:80; background:#111f27; border-bottom:1px solid #5d6058; }
    .ggk-header { position:relative; width:min(100% - 3rem,1200px); margin:auto; min-height:92px; display:flex; justify-content:space-between; align-items:center; gap:2rem; border-bottom:1px solid #5d6058; }
    .ggk-brand { display:flex; align-items:center; gap:.75rem; color:var(--ggk-ink); text-decoration:none; font:700 .98rem Georgia,serif; letter-spacing:.05em; }
    .ggk-brand img { width:36px; height:43px; }
    .ggk-header nav { display:flex; gap:clamp(.8rem,2.2vw,2rem); }
    .ggk-header nav a { color:#e1ddd1; text-decoration:none; font-size:.82rem; font-weight:700; }
    .ggk-header nav a:hover, .ggk-footer a:hover { color:var(--ggk-gold); }
    .ggk-subnav { width:min(100% - 3rem,1200px); margin:0 auto; display:flex; flex-wrap:nowrap; overflow-x:auto; white-space:nowrap; gap:.6rem 1.5rem; padding:1rem 0; }
    .ggk [id] { scroll-margin-top:11rem; }
    .ggk-subnav a { color:#e3d9bf; font-size:.82rem; font-weight:700; text-underline-offset:4px; }
    .ggk-subnav a:hover { color:var(--ggk-gold); }
    .ggk-hero { width:min(100% - 3rem,1200px); margin:auto; min-height:610px; padding:clamp(4rem,8vw,8rem) 0; display:grid; grid-template-columns:1.15fr .85fr; gap:3rem; align-items:center; }
    .ggk-kicker { color:var(--ggk-gold); font-size:.75rem; font-weight:800; text-transform:uppercase; letter-spacing:.2em; margin:0 0 1.5rem; }
    .ggk h1, .ggk h2, .ggk h3 { font-family:Georgia,'Times New Roman',serif; font-weight:400; }
    .ggk h1 { font-size:clamp(3.6rem,7vw,7rem); line-height:1.03; letter-spacing:-.05em; max-width:700px; margin:0 0 2rem; }
    .ggk h1 em { color:var(--ggk-gold); font-style:italic; }
    .ggk-lead { max-width:610px; color:#d8ddd9; font-size:clamp(1.15rem,1.65vw,1.4rem); line-height:1.65; margin:0 0 2rem; }
    .ggk-hero-link { display:inline-flex; align-items:center; gap:.8rem; color:var(--ggk-ink); text-decoration:none; padding-bottom:.45rem; border-bottom:2px solid var(--ggk-gold); font-weight:700; }
    .ggk-hero-link:hover { color:var(--ggk-gold); }
    .ggk-crest { width:min(100%,380px); aspect-ratio:1; justify-self:center; border:1px solid #9f8d67; border-radius:50%; background:radial-gradient(circle,#324448 0%,#1a2c34 62%,#111f27 72%); box-shadow:0 0 0 10px #111f27,0 0 0 11px #655f4d,0 22px 70px #0009; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.2rem; text-align:center; color:var(--ggk-gold); font-size:.71rem; font-weight:800; letter-spacing:.22em; }
    .ggk-crest img { width:38%; height:48%; filter:drop-shadow(0 8px 15px #0009); }
    .ggk-crest-arc { border-bottom:1px solid #8d7952; padding-bottom:.7rem; }
    .ggk-section { padding:clamp(5rem,8vw,8rem) max(1.5rem,calc((100vw - 1200px)/2)); }
    .ggk-section-head { max-width:780px; margin-bottom:3rem; }
    .ggk h2 { font-size:clamp(2.7rem,5vw,5rem); line-height:1.05; letter-spacing:-.045em; margin:0 0 1rem; }
    .ggk-subhead { color:#d8ddd9; font-size:1.18rem; line-height:1.6; margin:0; }
    .ggk-archive { background:#ece4d1; color:#273c40; }
    .ggk-archive .ggk-kicker, .ggk-reach .ggk-kicker { color:#846129; }
    .ggk-split { display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(2rem,7vw,7rem); align-items:start; }
    .ggk-prose { font:1.18rem/1.75 Georgia,serif; max-width:660px; }
    .ggk-prose p:last-child { margin-bottom:0; }
    .ggk-ledger { border-top:1px solid #a69c84; }
    .ggk-ledger>div { padding:1.2rem 0; border-bottom:1px solid #a69c84; display:grid; grid-template-columns:6.5rem 1fr; gap:1rem; }
    .ggk-ledger span { color:#765c34; font-weight:800; font-size:.82rem; }
    .ggk-ledger strong { font-weight:600; }
    .ggk-reach { background:#f5f1e7; color:#273c40; }
    .ggk-reach .ggk-subhead { color:#4a5c5b; }
    .ggk-map { position:relative; overflow:hidden; height:340px; border:1px solid #aaa28b; background:linear-gradient(90deg,#777c6b 0%,#9b9a78 23%,#bfc2a0 42%,#d7ceb0 63%,#9cae90 100%); box-shadow:7px 7px 0 #d9d2bd; font:italic 1.05rem Georgia,serif; color:#31423e; }
    .ggk-map::before { content:""; position:absolute; inset:-40% 10% -40% 25%; transform:rotate(13deg); border-left:5px solid #5d8990; border-right:2px solid #90afb2; border-radius:50%; box-shadow:35px 0 0 -32px #58838b; }
    .ggk-map::after { content:""; position:absolute; inset:0; background:repeating-linear-gradient(0deg,#473b2510 0px,#473b2510 1px,transparent 1px,transparent 8px); pointer-events:none; }
    .ggk-map span { position:absolute; z-index:1; display:block; padding:.4rem .65rem; background:#eee7d5ad; border:1px solid #695c3c55; }
    .ggk-west { left:5%; top:42%; }.ggk-north { left:47%; top:8%; }.ggk-east { right:6%; top:43%; }.ggk-south { left:47%; bottom:8%; }.ggk-river { left:34%; top:42%; text-align:center; }.ggk-river small { font-size:.7rem; font-family:Arial,sans-serif; font-style:normal; }
    .ggk-reach-copy { display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,6vw,6rem); margin-top:2.5rem; font:1.08rem/1.7 Georgia,serif; }
    .ggk-reach-copy p { margin:0; }
    .ggk-notes { background:#1a2f38; }
    .ggk-note-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }
    .ggk-note-grid article { padding:2rem; min-height:300px; border:1px solid #75817a; display:flex; flex-direction:column; }
    .ggk-note-grid article span { color:var(--ggk-gold); font-size:.77rem; font-weight:800; text-transform:uppercase; letter-spacing:.14em; }
    .ggk-note-grid h3 { font-size:2rem; line-height:1.15; letter-spacing:-.025em; margin:2.5rem 0 1rem; }
    .ggk-note-grid p { color:#d8ddd9; margin:auto 0 0; line-height:1.6; }
    .ggk-dice { display:grid; grid-template-columns:1fr .8fr; gap:clamp(2rem,7vw,7rem); align-items:center; }
    .ggk-dice p:not(.ggk-kicker) { color:#d8ddd9; font-size:1.1rem; max-width:550px; }
    .ggk-roll-box { padding:2rem; border:1px solid #9b987e; background:#172b31; text-align:center; }
    .ggk-roll-box button { width:100%; min-height:60px; border:0; background:var(--ggk-gold); color:#1e3035; font:800 1rem Arial,sans-serif; cursor:pointer; }
    .ggk-roll-box button:hover { background:#f4d795; }
    .ggk-result { min-height:85px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.3rem; color:#e5e4d9; }
    .ggk-result strong { color:var(--ggk-gold); font:400 2rem Georgia,serif; }
    .ggk-play-links { display:flex; flex-wrap:wrap; justify-content:center; gap:.5rem 1.3rem; border-top:1px solid #67746c; padding-top:1rem; }
    .ggk-play-links a { color:#f2d89a; font-size:.9rem; font-weight:700; }
    .ggk-footer { display:flex; justify-content:space-between; gap:1rem; padding:2rem max(1.5rem,calc((100vw - 1200px)/2)); color:#d2d5d0; font-size:.88rem; }
    .ggk-footer a { color:#e7deca; text-underline-offset:4px; }
    @media (max-width:800px) { .ggk-header { align-items:flex-start; flex-direction:column; padding:1rem 0; gap:.6rem; } .ggk-header nav { width:100%; flex-wrap:nowrap; overflow-x:auto; white-space:nowrap; } .ggk-header nav a { flex:none; } .ggk-hero { min-height:0; grid-template-columns:1fr; } .ggk-crest { width:min(75%,300px); } .ggk-split,.ggk-dice { grid-template-columns:1fr; } .ggk-note-grid { grid-template-columns:1fr; } .ggk-note-grid article { min-height:0; } .ggk-note-grid h3 { margin:1.5rem 0 .8rem; } }
    @media (max-width:600px) { .ggk-header,.ggk-hero { width:min(100% - 2.2rem,1200px); } .ggk-section { padding-inline:1.1rem; } .ggk-crest { width:min(80%,250px); } .ggk-map { height:420px; } .ggk-map span { font-size:.78rem; } .ggk-west { left:3%; top:43%; }.ggk-north { left:40%; top:6%; }.ggk-east { right:3%; top:43%; }.ggk-south { left:38%; bottom:6%; }.ggk-river { left:34%; top:44%; } .ggk-reach-copy { grid-template-columns:1fr; gap:1rem; } .ggk-footer { flex-direction:column; } }
    @media (prefers-reduced-motion:reduce) { .knight-easter-egg img,.knight-easter-egg span { transition:none; } }

    /* Gaming Group Knight player reference */
    .ggk-rules-intro,.ggk-catalog-page { width:min(100% - 3rem,1200px); margin:0 auto; padding:clamp(3rem,6vw,6rem) 0; }
    .ggk-rules-intro h1,.ggk-catalog-page h1 { max-width:950px; }
    .ggk-rules-intro .ggk-lead,.ggk-catalog-page .ggk-lead { max-width:900px; }
    .ggk-rules-status { display:flex; gap:1.5rem; flex-wrap:wrap; border-top:1px solid #6d766e; padding:1.2rem 0; color:#e2dfd1; }
    .ggk-rules-status strong { color:var(--ggk-gold); }
    .ggk-rules-layout { display:grid; grid-template-columns:minmax(210px,260px) minmax(0,1fr); gap:clamp(2rem,5vw,5rem); padding:3rem max(1.5rem,calc((100vw - 1200px)/2)); background:#f5f1e7; color:#273c40; }
    .ggk-rules-toc { position:sticky; top:10rem; height:max-content; display:flex; flex-direction:column; border-top:2px solid #b69b65; }
    .ggk-rules-toc strong { text-transform:uppercase; letter-spacing:.1em; color:#6c532f; padding:1rem .2rem; }
    .ggk-rules-toc a { display:flex; gap:.7rem; padding:.85rem .2rem; border-top:1px solid #c5baa5; color:#273c40; text-decoration:none; font-weight:700; font-size:.92rem; }
    .ggk-rules-toc a:hover { color:#825b18; }
    .ggk-rules-toc span { color:#866b3e; }
    .ggk-rule-section { scroll-margin-top:1rem; border-top:1px solid #b7aa92; padding:3rem 0; font:1.06rem/1.7 Georgia,serif; }
    .ggk-rule-section:first-child { border-top:0; padding-top:0; }
    .ggk-rule-section .ggk-kicker { color:#765629; font-family:Arial,Helvetica,sans-serif; }
    .ggk-rule-section h2 { font-size:clamp(2.2rem,3.7vw,3.8rem); }
    .ggk-rule-section h3 { font-size:1.5rem; line-height:1.2; margin:.2rem 0 .7rem; }
    .ggk-rule-section p { max-width:780px; }
    .ggk-rule-steps,.ggk-rule-list { padding-left:1.35rem; }
    .ggk-rule-steps li,.ggk-rule-list li { padding-left:.25rem; margin:0 0 .9rem; }
    .ggk-rule-pairs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.2rem; margin:2rem 0; }
    .ggk-rule-pairs>div,.ggk-rule-callout { border:1px solid #c8bda8; padding:1.4rem; background:#fffdf8; }
    .ggk-rule-pairs p { margin:0; }
    .ggk-rule-callout { border-left:5px solid #9c783b; }
    .ggk-rule-note { padding:1.2rem 1.4rem; background:#e8e0ce; border-left:3px solid #9c783b; font-size:.96rem; }
    .ggk-rule-catalog-feature { background:#eae1cf; padding-inline:1.4rem; }
    .ggk-rule-catalog-feature .ggk-hero-link { color:#273c40; margin:1rem 0; font-family:Arial,Helvetica,sans-serif; }
    .ggk-table-references { margin:3rem 0 .5rem; padding-top:1.5rem; border-top:1px solid #b8a88a; font-family:Arial,Helvetica,sans-serif; }
    .ggk-table-references h3 { margin:0 0 .5rem; }
    .ggk-table-references>p { max-width:800px; color:#435556; font-size:.94rem; line-height:1.55; }
    .ggk-table-group { margin:1.7rem 0; }
    .ggk-table-group h4 { margin:0 0 .65rem; color:#6e5028; font-size:.75rem; text-transform:uppercase; letter-spacing:.12em; }
    .ggk-table-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.55rem; }
    .ggk-table-tile { position:relative; min-width:0; }
    .ggk-table-tile:hover,.ggk-table-tile:focus-within { z-index:12; }
    .ggk-table-tile>button { display:flex; align-items:center; justify-content:space-between; gap:.8rem; width:100%; min-height:62px; padding:.65rem .9rem; border:1px solid #ae9c7b; background:#fffdf7; color:#273c40; cursor:pointer; text-align:left; }
    .ggk-table-tile>button:hover,.ggk-table-tile>button:focus-visible { border-color:#805a24; background:#f4ead5; }
    .ggk-table-tile>button span:first-child { display:grid; gap:.12rem; }
    .ggk-table-tile small { color:#77572b; font-size:.65rem; font-weight:800; letter-spacing:.1em; }
    .ggk-table-tile strong { font-size:.9rem; }
    .ggk-table-popover { display:none; pointer-events:none; position:absolute; top:calc(100% + .4rem); left:0; width:min(500px,calc(100vw - 3rem)); max-height:72vh; overflow:hidden; padding:.7rem; border:1px solid #92754d; background:#fff; box-shadow:0 16px 40px #17282755; }
    .ggk-table-tile:nth-child(even) .ggk-table-popover { left:auto; right:0; }
    .ggk-table-popover img { display:block; width:100%; height:auto; max-height:68vh; object-fit:contain; }
    @media(hover:hover) { .ggk-table-tile:hover .ggk-table-popover,.ggk-table-tile:focus-within .ggk-table-popover { display:block; } }
    .ggk-table-dialog { width:min(96vw,760px); max-height:calc(100dvh - 2rem); padding:0; border:2px solid #9c783b; background:#fffdf8; color:#273c40; box-shadow:0 20px 70px #0008; }
    .ggk-table-dialog::backdrop { background:#0b1b22bb; }
    .ggk-table-dialog-content { display:flex; flex-direction:column; gap:1rem; align-items:center; padding:1.1rem; }
    .ggk-table-dialog-head { display:flex; justify-content:space-between; align-items:center; gap:1rem; width:100%; }
    .ggk-table-dialog-head button { min-height:44px; padding:.5rem .8rem; border:1px solid #805a24; background:#eae1cf; color:#273c40; cursor:pointer; font-weight:700; }
    .ggk-table-dialog img { display:block; max-width:100%; max-height:calc(100dvh - 10rem); object-fit:contain; }
    .ggk-table-dialog a { align-self:flex-start; font-size:.9rem; font-weight:700; }
    @media(max-width:900px) { .ggk-table-grid { grid-template-columns:1fr; } .ggk-table-tile:nth-child(even) .ggk-table-popover { left:0; right:auto; } }
    .ggk-rule-review { background:#e9e1d0; padding-inline:1.4rem; }
    .ggk-catalog-page { padding-bottom:5rem; }
    .ggk-catalog { border:1px solid #a89d84; background:#f5f1e7; color:#273c40; }
    .ggk-catalog-tabs { display:flex; flex-wrap:wrap; background:#20343c; }
    .ggk-catalog-tabs button { padding:1rem 1.2rem; border:0; border-right:1px solid #53676a; background:transparent; color:#eee8d9; cursor:pointer; font:700 .94rem Arial,Helvetica,sans-serif; }
    .ggk-catalog-tabs button[aria-pressed="true"] { background:#d9b56e; color:#20343c; }
    .ggk-catalog-tabs button:hover:not([aria-pressed="true"]) { background:#34515b; }
    .ggk-catalog-controls { display:grid; grid-template-columns:1fr 1fr; gap:1rem; padding:1.4rem; }
    .ggk-catalog-controls label { display:flex; flex-direction:column; gap:.5rem; font-weight:700; }
    .ggk-catalog-controls input,.ggk-catalog-controls select { width:100%; min-height:46px; padding:.6rem .8rem; border:1px solid #8c8b7c; border-radius:0; background:#fff; color:#20343c; font:1rem Arial,Helvetica,sans-serif; }
    .ggk-catalog-count { margin:.2rem 1.4rem 1rem; font-size:.94rem; }
    .ggk-catalog-scroll { overflow:auto; max-height:65vh; border-top:1px solid #b7aa92; }
    .ggk-catalog table { border-collapse:collapse; width:100%; min-width:650px; font: .94rem/1.4 Arial,Helvetica,sans-serif; }
    .ggk-catalog th,.ggk-catalog td { padding:.7rem .9rem; text-align:left; vertical-align:top; border-right:1px solid #ded5c5; border-bottom:1px solid #ded5c5; min-width:5rem; }
    .ggk-catalog thead th { position:sticky; top:0; z-index:1; background:#d9c99e; color:#20343c; }
    .ggk-catalog tbody th { font-weight:700; min-width:12rem; }
    .ggk-catalog tbody tr:nth-child(even) { background:#ebe4d5; }
    .ggk-catalog-note { color:#d8ddd9; line-height:1.65; max-width:950px; }
    .ggk-original-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.7rem; margin:1.5rem 0; font-family:Arial,Helvetica,sans-serif; }
    .ggk-original-links a { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem; border:1px solid #b7aa92; color:#273c40; text-decoration:none; font-weight:700; }
    .ggk-original-links a:hover { background:#eae1cf; border-color:#9c783b; }
    .ggk-original { width:min(100% - 3rem,1100px); margin:auto; padding:clamp(3rem,6vw,6rem) 0; }
    .ggk-original h1 { font-size:clamp(2.5rem,5vw,5rem); }
    .ggk-original-intro { max-width:850px; color:#d8ddd9; font-size:1.12rem; line-height:1.65; }
    .ggk-original-article { margin:2rem 0; padding:clamp(1.2rem,4vw,3rem); background:#f5f1e7; color:#273c40; font:1.03rem/1.7 Georgia,serif; overflow-wrap:anywhere; }
    .ggk-original-article h1,.ggk-original-article h2,.ggk-original-article h3,.ggk-original-article h4 { margin:1.7rem 0 .8rem; font-size:clamp(1.4rem,2vw,2.2rem); letter-spacing:normal; line-height:1.25; }
    .ggk-original-article h1:first-child,.ggk-original-article h2:first-child { margin-top:0; }
    .ggk-original-article table { display:block; width:100%; overflow:auto; border-collapse:collapse; font: .9rem/1.45 Arial,Helvetica,sans-serif; margin:1.5rem 0; }
    .ggk-original-article th,.ggk-original-article td { border:1px solid #c6bba6; padding:.5rem .7rem; min-width:5rem; text-align:left; vertical-align:top; }
    .ggk-original-article th { background:#e4d9bd; }
    .ggk-original-source { color:#d8ddd9; font-size:.91rem; }
    @media(max-width:800px) { .ggk-rules-layout { grid-template-columns:1fr; } .ggk-rules-toc { position:static; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); } .ggk-rules-toc strong { grid-column:1/-1; } }
    @media(max-width:600px) { .ggk [id] { scroll-margin-top:13rem; } .ggk-rules-intro,.ggk-catalog-page,.ggk-original { width:min(100% - 2.2rem,1200px); } .ggk-rule-pairs,.ggk-catalog-controls,.ggk-original-links { grid-template-columns:1fr; } .ggk-rules-toc { grid-template-columns:1fr; } .ggk-catalog-tabs button { flex:1 1 45%; } }

    /* Professional-first site architecture */
    .pro-hero .hero-grid { grid-template-columns:minmax(0,1.18fr) minmax(290px,.72fr); }
    .pro-hero .hero-aside a { color:#fff; text-decoration:none; border-bottom:1px solid var(--gold); }
    .pro-hero .hero-aside a:hover { color:var(--gold); }
    .focus-grid,.topic-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
    .focus-grid a,.topic-grid a { display:flex; flex-direction:column; min-height:260px; padding:1.6rem; background:#fff; border:1px solid var(--line); text-decoration:none; }
    .focus-grid a:hover,.topic-grid a:hover { border-color:var(--gold-dark); transform:translateY(-2px); }
    .focus-grid span,.topic-grid span { color:var(--gold-dark); text-transform:uppercase; letter-spacing:.12em; font-size:.75rem; font-weight:800; }
    .focus-grid h3,.topic-grid h3 { font:400 clamp(1.25rem, 1.05rem + 1vw, 1.75rem)/1.15 Georgia,serif; letter-spacing:-.025em; margin:2rem 0 .7rem; }
    .focus-grid p,.topic-grid p { color:var(--muted); margin:auto 0 0; }
    .topic-grid b { margin-top:1.4rem; align-self:flex-start; border-bottom:2px solid var(--gold); }
    .pro-training { background:var(--deep); color:#fff; border-top:4px solid var(--orange); }
    .pro-training .section-label { color:var(--gold); }
    .pro-training-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(280px,.65fr); gap:clamp(2rem,7vw,7rem); align-items:center; }
    .pro-training-grid h2 { margin:1.2rem 0 1.4rem; }
    .pro-training-grid p:not(.section-label) { font-size:1.1rem; color:#d4e1e7; max-width:790px; }
    .pro-training-note { padding:2rem; border:1px solid #7f99a2; background:#103f5c; }
    .pro-training-note strong { display:block; color:var(--gold); font:400 1.65rem/1.25 Georgia,serif; }
    .pro-training-note p { margin:1.2rem 0 0; font-size:.96rem !important; }
    .pro-training-note ul { padding-left:1.2rem; color:#d4e1e7; }
    .pro-training-note li { margin:.65rem 0; }
    .pro-link-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
    .pro-link-grid>a,.pro-link-grid>.future-card { min-height:300px; display:flex; flex-direction:column; padding:1.8rem; border:1px solid var(--line); background:#fff; text-decoration:none; }
    .pro-link-grid>a:hover { border-color:var(--gold-dark); transform:translateY(-2px); }
    .pro-link-grid span { color:var(--gold-dark); text-transform:uppercase; font-size:.76rem; font-weight:800; letter-spacing:.11em; }
    .pro-link-grid h3 { font:400 clamp(1.25rem, 1.05rem + 1vw, 1.75rem)/1.15 Georgia,serif; margin:2rem 0 .8rem; }
    .pro-link-grid p { color:var(--muted); }
    .pro-link-grid b { margin-top:auto; border-bottom:2px solid var(--gold); align-self:flex-start; }
    .home-book-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
    .home-book-grid a { display:flex; flex-direction:column; min-height:285px; padding:1.8rem; background:#fff; border:1px solid var(--line); text-decoration:none; }
    .book-cover { display:block; width:160px; height:256px; object-fit:contain; object-position:center; background:#fff; box-shadow:5px 8px 18px #15374727; }
    .home-book-grid .book-cover,.library-rows .book-cover { margin:0 0 1.6rem; }
    .home-book-grid a:hover { border-color:var(--gold-dark); transform:translateY(-2px); }
    .home-book-grid span { color:var(--gold-dark); font-size:.78rem; font-weight:800; text-transform:uppercase; letter-spacing:.1em; }
    .home-book-grid h3 { font:400 clamp(1.25rem, 1.05rem + 1vw, 1.75rem)/1.15 Georgia,serif; margin:1.7rem 0 .8rem; }
    .home-book-grid p { color:var(--muted); }
    .home-book-grid b { align-self:flex-start; margin-top:auto; border-bottom:2px solid var(--gold); }
    .professional-book-band,.upcoming-section { background:var(--pale); border-top:4px solid var(--orange); }
    .creative-door { background:#e8f1f4; border-top:4px solid var(--orange); }
    .creative-door-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(260px,.65fr); gap:clamp(2rem,7vw,7rem); align-items:center; }
    .creative-door h2 { margin:1.2rem 0; max-width:740px; }
    .creative-door p:not(.section-label) { color:var(--muted); font-size:1.12rem; max-width:700px; }
    .creative-door-card { justify-self:center; width:min(100%,260px); display:block; }
    .creative-door-card img { display:block; width:100%; height:auto; box-shadow:12px 16px 0 var(--deep); }
    .section-jump { display:flex; gap:.7rem; flex-wrap:wrap; padding-block:1.2rem; }
    .section-jump a { padding:.45rem .7rem; border:1px solid var(--line); color:var(--deep); text-decoration:none; font-weight:700; font-size:.88rem; }
    .section-jump a:hover { background:var(--pale); border-color:var(--blue); }
    .topic-grid a { scroll-margin-top:8rem; }
    .pro-inline-link { margin:2rem 0 0; }
    .library-rows { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
    .library-rows>a,.library-rows>div { display:flex; flex-direction:column; min-height:250px; padding:1.6rem; border:1px solid var(--line); background:#fff; text-decoration:none; }
    .library-rows>a:hover { border-color:var(--gold-dark); }
    .library-rows span { color:var(--gold-dark); font-size:.75rem; font-weight:800; text-transform:uppercase; letter-spacing:.1em; }
    .library-rows h3 { font:400 1.7rem/1.2 Georgia,serif; margin:1.6rem 0 .7rem; }
    .library-rows p { color:var(--muted); }
    .library-rows b { margin-top:auto; border-bottom:2px solid var(--gold); align-self:flex-start; }
    .fiction-feature { display:grid; grid-template-columns:1.2fr .8fr; gap:clamp(2rem,7vw,6rem); align-items:center; }
    .fiction-feature h2 { margin:1.2rem 0 1.5rem; }
    .fiction-feature p:not(.section-label) { max-width:680px; color:var(--muted); font-size:1.12rem; }
    .fiction-card-pair { justify-self:center; display:flex; align-items:center; width:min(100%,460px); padding:1rem 2rem 2rem 0; text-decoration:none; }
    .fiction-card-pair img { display:block; width:60%; height:auto; min-width:0; box-shadow:10px 15px 25px #073a5c33; }
    .fiction-card-pair img:last-child { margin-left:-16%; transform:translate(8%,14%) rotate(4deg); }
    .fiction-card-pair:hover img:last-child { transform:translate(15%,14%) rotate(5deg); }
    .war-lead { padding-block:clamp(2.6rem,4vw,4rem); }
    .fiction-archive-link { display:flex; align-items:center; justify-content:flex-end; gap:1rem; padding-top:1.5rem; }
    .fiction-archive-link a { display:flex; gap:.7rem; align-items:center; text-decoration:none; font-weight:800; }
    .fiction-archive-link img { width:43px; height:50px; }
    .fiction-archive-link p { margin:0; color:var(--muted); font-size:.9rem; }
    .fiction-archive-link p a { display:inline; color:inherit; font-weight:500; text-decoration:underline; }
    .about-ending { max-width:820px; }
    .about-ending h2 { margin:1.2rem 0; }
    .about-ending>p:last-child { color:var(--muted); font-size:1.15rem; }
    @media(max-width:900px) { .focus-grid,.topic-grid,.pro-link-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .pro-hero .hero-grid,.pro-training-grid,.creative-door-grid,.fiction-feature { grid-template-columns:1fr; } .creative-door-card { justify-self:start; } }
    @media(max-width:650px) { .focus-grid,.topic-grid,.pro-link-grid,.library-rows,.home-book-grid { grid-template-columns:1fr; } .focus-grid a,.topic-grid a,.pro-link-grid>a,.pro-link-grid>.future-card,.library-rows>a,.library-rows>div,.home-book-grid a { min-height:0; } .focus-grid h3,.topic-grid h3,.pro-link-grid h3 { margin-top:1.4rem; } .fiction-archive-link { align-items:flex-start; flex-direction:column; } }
    .war-order-preview { background:#fff; padding-block:3rem; }
    .order-panel { display:grid; grid-template-columns:1fr minmax(270px,.55fr); align-items:center; gap:clamp(2rem,5vw,5rem); padding:clamp(1.5rem,4vw,3.5rem); border:2px solid var(--deep); box-shadow:10px 10px 0 var(--gold); }
    .order-panel h2 { margin:1rem 0; }
    .order-panel p:not(.section-label) { max-width:650px; color:var(--muted); font-size:1.08rem; margin:0; }
    .order-action { display:flex; flex-direction:column; gap:.8rem; }
    .order-preview-label { color:var(--gold-dark); font-weight:800; letter-spacing:.1em; text-transform:uppercase; font-size:.82rem; }
    .order-button { width:100%; min-height:62px; border:0; padding:1rem 1.35rem; background:var(--orange); color:#101820; font:800 1.08rem Arial,Helvetica,sans-serif; text-align:center; opacity:1; cursor:not-allowed; }
    .order-action small { color:var(--muted); line-height:1.45; font-size:.88rem; }
    .book-detail-grid { grid-template-areas:"overview purchase"; display:grid; grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr); gap:clamp(3rem,7vw,7rem); }
    .book-detail-grid>div { grid-area:overview; min-width:0; }
    .book-detail-grid>.buy-panel { grid-area:purchase; min-width:0; }
    .book-detail-grid h2 { margin:1.2rem 0 1.6rem; }
    .book-detail-grid>div>p:not(.section-label) { color:var(--muted); font-size:1.13rem; max-width:680px; }
    .book-detail-grid h3 { font:400 clamp(1.25rem, 1.05rem + 1vw, 1.75rem) Georgia,serif; margin:2.6rem 0 .7rem; }
    .book-detail-grid .text-link { margin-top:1.4rem; }
    .buy-panel { padding:clamp(1.5rem,3vw,2.5rem); background:var(--pale); border-top:4px solid var(--orange); align-self:start; }
    .detail-book-cover { display:block; width:min(100%,240px); height:auto; max-height:390px; object-fit:contain; margin:0 auto 2rem; background:#fff; box-shadow:8px 12px 26px #15374730; }
    .buy-panel h2 { font-size:clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem); margin:1rem 0 1.8rem; }
    .purchase-link { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.5rem 1rem; padding:1rem 0; border-top:1px solid var(--line); text-decoration:none; }
    .purchase-link:hover strong { color:var(--gold-dark); text-decoration:underline; }
    .purchase-link span { font-weight:700; }
    .purchase-link strong { color:var(--blue); }
    .meit-lead h1 { max-width:1100px; font-size:clamp(2rem, 1.4rem + 2vw, 3rem); }
    .meit-section { padding-top:clamp(3rem,5vw,5rem); }
    .meit-downloads { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.4rem; }
    .meit-download-card { display:flex; flex-direction:column; align-items:flex-start; padding:clamp(1.6rem,3vw,2.5rem); border:1px solid var(--line); background:#fff; box-shadow:0 12px 35px rgba(0,44,76,.06); }
    .meit-download-card h2 { font:400 clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem)/1.17 Georgia,serif; color:var(--deep); margin:1rem 0; }
    .meit-download-card>p:not(.section-label) { color:var(--muted); font-size:1.06rem; line-height:1.6; margin:0 0 2rem; }
    .meit-download-link { display:flex; align-items:center; justify-content:space-between; gap:2rem; width:100%; margin-top:auto; padding:1rem 1.2rem; color:#fff; background:var(--blue); font-weight:800; text-decoration:none; }
    .meit-download-link:hover, .meit-download-link:focus-visible { background:var(--deep); }
    .meit-resource-note { max-width:800px; margin:2.4rem 0 2rem; padding-left:1.4rem; border-left:4px solid var(--orange); }
    .meit-resource-note h2 { font:400 1.55rem Georgia,serif; margin:0 0 .6rem; }
    .meit-resource-note p { color:var(--muted); font-size:1rem; line-height:1.65; margin:.5rem 0; }
    @media (max-width:700px) { .meit-downloads { grid-template-columns:1fr; } }
    .buy-panel>p:last-child { border-top:1px solid var(--line); padding-top:1rem; margin:1rem 0 0; color:var(--muted); font-size:.94rem; }
    .page-lead.watch-lead { background:var(--paper); color:var(--ink); border-top:0; border-bottom:1px solid var(--line); padding-block:clamp(2rem,4vw,3.5rem); }
    .page-lead.watch-lead p { color:var(--muted); }
    .page-lead.watch-lead h1,.page-lead.watch-lead .eyebrow,.page-lead.watch-lead a { color:var(--ink); }
    .page-lead.watch-lead a:focus-visible { outline-color:var(--blue); }
    .watch-layout { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(290px,.65fr); gap:clamp(2rem,5vw,5rem); align-items:start; }
    .watch-player-column { min-width:0; }
    .video-frame { width:100%; aspect-ratio:16/9; background:var(--deep); }
    .video-frame iframe { display:block; width:100%; height:100%; border:0; }
    .watch-player-column .section-label { margin:1.7rem 0 .8rem; }
    .watch-player-column h2 { font-size:clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem); margin-bottom:1rem; }
    .watch-player-column>p:last-child { color:var(--muted); font-size:1rem; }
    .watch-list { border-top:4px solid var(--orange); }
    .watch-list h2 { font-size:2.2rem; margin:1.2rem 0 .5rem; }
    .watch-list>p { color:var(--muted); }
    .watch-list ol { list-style:none; padding:0; margin:1.5rem 0 0; max-height:none; overflow:visible; border-top:1px solid var(--line); }
    .watch-list li { border-bottom:1px solid var(--line); }
    .watch-list li a { display:flex; flex-direction:column; gap:.4rem; padding:1rem .6rem; text-decoration:none; }
    .watch-list li a[aria-current="true"] { background:var(--pale); border-left:4px solid var(--orange); padding-left:calc(.6rem - 4px); }
    .watch-list li a:hover { background:var(--pale); }
    .watch-list strong { font-size:1.05rem; line-height:1.35; }
    .watch-topic { color:var(--gold-dark); font-size:.79rem; text-transform:uppercase; letter-spacing:.08em; font-weight:800; }
    .watch-select { color:var(--blue); font-size:.91rem; font-weight:700; }
    @media (max-width:850px) {
      .order-panel, .book-detail-grid, .watch-layout { grid-template-columns:1fr; }
      .book-detail-grid { grid-template-areas:"purchase" "overview"; }
      .watch-list ol { max-height:none; overflow:visible; }
    }

    .game-feature-intro { grid-template-columns:minmax(0,1fr) 220px; }
    .game-intro-mark { width:220px; aspect-ratio:5/7; justify-self:end; background:#111; color:#fff; display:flex; flex-direction:column; justify-content:center; align-items:center; box-shadow:16px 16px 0 var(--gold); }
    .game-intro-mark span { font:400 3.3rem/1 Georgia,serif; letter-spacing:.05em; }
    .game-intro-mark small { font-size:.57rem; letter-spacing:.2em; margin-top:.9rem; }
    .war-showcase { background:#e7eff3; border-top:4px solid var(--orange); overflow:hidden; }
    .war-showcase-grid { display:grid; grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr); grid-template-areas:"copy copy" "history deck"; gap:1.8rem clamp(2rem,4vw,4rem); align-items:start; }
    .war-showcase-copy { grid-area:copy; }
    .war-showcase-copy h2 { margin:1.25rem 0 1.5rem; max-width:520px; }
    .war-showcase-copy>p:not(.section-label) { max-width:540px; font-size:1.1rem; color:var(--muted); }
    .war-showcase-copy>p.war-preview-introduction { max-width:none; }
    .war-proof-note { font-size:.9rem; color:var(--muted); border-left:3px solid var(--orange); padding-left:1rem; margin:1.5rem 0 0; }
    .war-card-caption { min-height:2.5rem; margin-top:2rem; font-weight:700; color:var(--deep); }
    .war-deck-interaction { grid-area:deck; text-align:center; min-width:0; }
    .war-deck-stage { --card-width:min(230px,40vw); --card-shift:min(165px,22vw); position:relative; width:100%; height:calc(var(--card-width) * 1.4 + 2rem); perspective:1100px; }
    .war-reveal-card, .war-deck-button { position:absolute; top:50%; left:50%; width:var(--card-width); aspect-ratio:5/7; border:0; padding:0; background:#111; box-shadow:0 20px 32px rgba(7,58,92,.22); }
    .war-reveal-card { z-index:2; opacity:0; transform-style:preserve-3d; transform:translate(-50%,-50%) rotateY(0); transition:transform .85s cubic-bezier(.22,.7,.2,1),opacity .25s; pointer-events:none; }
    .war-reveal-card img { position:absolute; inset:0; display:block; width:100%; height:100%; backface-visibility:hidden; }
    .war-reveal-front { transform:rotateY(180deg); }
    .war-deck-button { z-index:3; transform:translate(-50%,-50%); cursor:pointer; transition:transform .25s,box-shadow .25s; }
    .war-deck-button::before, .war-deck-button::after { content:""; position:absolute; inset:0; background:#111; border:1px solid #555; z-index:-1; }
    .war-deck-button::before { transform:translate(6px,6px) rotate(2deg); }
    .war-deck-button::after { transform:translate(3px,3px) rotate(-1deg); }
    .war-deck-button img { display:block; width:100%; height:100%; }
    .war-deck-button:hover { transform:translate(-50%,-52%) rotate(-2deg); box-shadow:0 24px 38px rgba(7,58,92,.28); }
    .war-deck-button:focus-visible, .war-deck-control:focus-visible { outline:4px solid var(--orange); outline-offset:5px; }
    .war-deck-button:disabled { cursor:default; }
    .stage-1 .first, .stage-2 .first, .stage-3 .first { z-index:4; opacity:1; transform:translate(calc(-50% - var(--card-shift)),-50%) rotateY(180deg); }
    .stage-2 .second, .stage-3 .second { z-index:4; opacity:1; transform:translate(calc(-50% + var(--card-shift)),-50%) rotateY(180deg); }
    .stage-3 .winner { outline:5px solid var(--gold); outline-offset:2px; box-shadow:0 25px 48px rgba(7,58,92,.36),0 0 0 9px rgba(246,199,0,.22); }
    .stage-3 .war-reveal-card:not(.winner) { filter:grayscale(.4) brightness(.82); }
    .stage-4 .war-reveal-card { z-index:2; opacity:1; transform:translate(-50%,-50%) rotateY(0); }
    .war-winner-label { display:none; position:absolute; bottom:1rem; left:0; right:0; width:max-content; margin:auto; transform:rotateY(180deg) translateZ(2px); backface-visibility:hidden; background:var(--gold); color:#172630; padding:.35rem .6rem; font-size:.68rem; line-height:1; font-weight:800; text-transform:uppercase; letter-spacing:.08em; white-space:nowrap; }
    .stage-3 .winner .war-winner-label { display:block; }
    .war-deck-control { border:0; background:var(--deep); color:#fff; font:700 .97rem Arial,Helvetica,sans-serif; padding:.85rem 1.15rem; min-height:48px; cursor:pointer; }
    .war-deck-control:hover { background:var(--blue); }
    .war-deck-control:disabled { opacity:.65; cursor:default; }
    .war-deck-control span { padding-left:.5rem; color:var(--gold); }
    .war-deck-hint { font-size:.86rem; color:var(--muted); margin:1rem 0 0; }
    .war-history-panel { grid-area:history; border-top:1px solid var(--line); padding-top:1.2rem; }
    .war-history-prompt { margin:1rem 0 0; color:var(--muted); }
    .war-history-entry { border-top:1px solid var(--line); padding:1rem 0 1.25rem; }
    .war-history-entry:first-of-type { margin-top:1rem; }
    .war-history-heading { display:flex; justify-content:space-between; gap:.75rem; align-items:baseline; color:var(--gold-dark); font-size:.74rem; text-transform:uppercase; letter-spacing:.08em; font-weight:800; }
    .war-history-heading strong { color:var(--deep); background:var(--gold); padding:.15rem .4rem; }
    .war-history-entry h3 { font:400 1.5rem/1.15 Georgia,serif; margin:.45rem 0 .5rem; }
    .war-history-entry p { margin:0 0 .65rem; color:var(--muted); line-height:1.45; }
    .war-history-entry a { font-size:.82rem; font-weight:700; color:var(--blue); text-underline-offset:.2rem; }
    @media (max-width:850px) {
      .war-showcase-grid { grid-template-columns:1fr; grid-template-areas:"copy" "deck" "history"; }
      .war-showcase-copy h2, .war-showcase-copy>p:not(.section-label) { max-width:700px; }
      .war-deck-stage { --card-width:min(230px,40vw); }
    }
    @media (max-width:620px) {
      .game-feature-intro { grid-template-columns:1fr; }
      .game-intro-mark { display:none; }
      .war-deck-stage { --card-width:40vw; --card-shift:22vw; }
      .war-deck-hint { max-width:280px; margin-inline:auto; }
    }
    @media (prefers-reduced-motion:reduce) {
      .war-reveal-card, .war-deck-button { transition:none; }
    }
    .fiction-account-link { display:inline-flex; margin-top:1.7rem; color:#fff; font-weight:800; text-decoration:none; border-bottom:2px solid var(--gold); padding-bottom:.35rem; }
    .fiction-account-link:hover { color:var(--gold); }
    .player-account { background:var(--pale); min-height:70vh; border-top:4px solid var(--orange); }
    .player-account-wrap { max-width:820px; }
    .player-account h1 { margin:1rem 0 2rem; font-size:clamp(2rem, 1.4rem + 2vw, 3rem); }
    .player-account-panel { background:#fff; border:1px solid var(--line); border-top:5px solid var(--gold); padding:clamp(1.5rem,4vw,3rem); }
    .player-account-panel h2 { font-size:clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem); margin-bottom:1.2rem; }
    .player-account-panel p { color:var(--muted); }
    .player-account-panel .player-identity { display:flex; flex-wrap:wrap; gap:.45rem; align-items:baseline; margin-bottom:2rem; overflow-wrap:anywhere; }
    .player-identity a { margin-left:auto; color:var(--blue); font-weight:700; }
    .player-account-panel form { display:grid; gap:1rem; }
    .player-account-panel form>label:not(.player-check) { display:grid; gap:.4rem; font-weight:700; }
    .player-account-panel input[type="text"],.player-account-panel input:not([type]) { width:100%; min-height:48px; border:1px solid #829ba8; padding:.7rem .8rem; font:1rem Arial,Helvetica,sans-serif; }
    .player-account-panel fieldset { border:1px solid var(--line); margin:.3rem 0 0; padding:1.1rem 1.3rem; }
    .player-account-panel legend { font-weight:800; padding:0 .35rem; }
    .player-check { display:flex; align-items:start; gap:.7rem; margin:.7rem 0 1rem; line-height:1.45; }
    .player-check input { flex:none; width:20px; height:20px; accent-color:var(--blue); margin:.1rem 0 0; }
    .player-account-panel fieldset p { margin:1rem 0 0; font-size:.9rem; }
    .player-account-panel button,.player-primary-link { display:inline-flex; justify-content:center; align-items:center; justify-self:start; min-height:48px; padding:.75rem 1.25rem; background:var(--deep); color:#fff; border:0; font:700 1rem Arial,Helvetica,sans-serif; text-decoration:none; cursor:pointer; }
    .player-account-panel button:hover,.player-primary-link:hover { background:var(--blue); }
    .player-confirmation { border-left:4px solid #24834d; background:#e3f4e9; padding:.7rem 1rem; }
    .player-account-note { max-width:730px; margin:1.5rem 0 0; color:var(--muted); font-size:.93rem; }
    .player-game-links { border-top:1px solid var(--line); margin-top:2rem; padding-top:1.5rem; display:flex; flex-wrap:wrap; gap:.8rem 1.5rem; }
    .player-game-links h3 { width:100%; margin:0; font:400 1.5rem Georgia,serif; }
    .player-game-links a { color:var(--blue); font-weight:700; }
    .player-game-gate { max-width:710px; padding:clamp(1.5rem,4vw,3rem); background:#fff; color:var(--ink); border-top:5px solid var(--orange); box-shadow:0 8px 30px #082c3a21; }
    .player-gate-label { color:var(--gold-dark); font-size:.78rem; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
    .player-game-gate h2 { font-size:clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem); margin:.7rem 0 1rem; }
    .player-game-gate p:not(.player-gate-label) { color:var(--muted); line-height:1.55; }
    .player-game-gate>a { display:inline-flex; gap:.7rem; align-items:center; background:var(--deep); color:#fff; text-decoration:none; font-weight:800; padding:.85rem 1.1rem; min-height:48px; margin:.5rem 0 1rem; }
    .player-game-gate>a:hover { background:var(--blue); }
    .player-game-gate small { display:block; color:var(--muted); line-height:1.45; }
    .war-preview-card { display:block; width:min(250px,60vw); height:auto; margin:0 auto; box-shadow:16px 16px 0 var(--gold),0 25px 45px #153e4a55; }
    .war-showcase .player-game-gate { box-shadow:none; }
    @media (max-width:650px) { .footer-inner { flex-wrap:wrap; } .player-identity a { margin-left:0; } }

/* Reading layout for professional investigation articles. */
.investigation-article { max-width: 780px; font-size: 1.0625rem; line-height: 1.8; }
.investigation-article h2 { margin: 2.5rem 0 1rem; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.3; scroll-margin-top: 110px; }
.investigation-article h3 { margin: 1.5rem 0 .5rem; }
.investigation-article p { margin: 0 0 1rem; }
.investigation-article ul { padding-left: 1.5rem; margin: 1rem 0 1.5rem; }
.investigation-article a { text-decoration: underline; text-underline-offset: .2em; }

.tabletop-heading { max-width: 680px; margin-bottom: 2rem; }
.tabletop-heading h2 { font-size: clamp(2rem, 4vw, 3rem); margin: .7rem 0 1rem; }
.tabletop-link-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
.tabletop-link-grid > a { display: block; padding: 1.8rem; border: 1px solid #b7c9d1; text-decoration: none; }
.tabletop-link-grid h3 { font: 1.6rem/1.25 Georgia,serif; margin: 0 0 .8rem; }
.tabletop-link-grid p { margin: 0 0 1.5rem; }
.tabletop-link-grid span { font-weight: 700; text-decoration: underline; text-underline-offset: .25em; }
.tabletop-link-grid a:hover, .tabletop-link-grid a:focus-visible { background: #eef4f7; }
.tabletop-archive { margin-top: 1.5rem; }
@media(max-width:650px) { .tabletop-link-grid { grid-template-columns: 1fr; } }


[data-slot="dialog-overlay"] {position:fixed;inset:0;z-index:1000;background:rgba(0,14,18,.75);}

/* Approved article architecture, scoped to campaign pages. */
.campaign-lead .wrap { max-width: 780px; }
.campaign-lead h1 { max-width: 100%; }
.article-direct-answer { font-size: 1.125rem; line-height: 1.7; margin: 1.5rem 0; }
.article-direct-answer p { margin: 0 0 .75rem; max-width: none; }
.article-direct-answer ul, .article-direct-answer ol { padding-left: 1.5rem; }
.campaign-lead .article-byline { font-size: .9375rem; }
.campaign-article ol { padding-left: 1.5rem; margin: 1rem 0 1.5rem; }
.campaign-article li { margin-bottom: .4rem; }
.campaign-article strong { font-weight: 650; }
.campaign-article h2 strong, .campaign-article h3 strong { font-weight: inherit; }
.article-table-scroll { overflow-x: auto; max-width: 100%; margin: 1.5rem 0; }
.article-table-scroll table { border-collapse: collapse; width: 100%; font-size: 1rem; min-width: 520px; }
.article-table-scroll th, .article-table-scroll td { text-align: left; vertical-align: top; padding: .75rem; border: 1px solid #cbd5e1; }
.article-table-scroll th { background: #eef2f6; color: #173047; }
.article-book-cta { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 1.5rem; padding: 1.5rem; margin: 2.5rem 0; border: 1px solid #cbd5e1; background: #f4f7fa; }
.article-book-cta h2 { margin: .5rem 0 1rem; font-size: 1.45rem; }
.article-book-cta img { display: block; width: 100%; height: auto; }
.article-book-cta .section-label { font-size: .875rem; }
.article-buy-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.campaign-article .article-buy-actions a { font-size: .9375rem; text-decoration: none; white-space: normal; line-height: 1.4; text-align: center; }
.article-kindle-button { background: #173047; color: #fff; }
.article-book-cta .article-resource-link { margin: 1rem 0 0; font-size: .9375rem; }
.article-related, .article-author { border-top: 1px solid #cbd5e1; margin-top: 2rem; padding-top: 1rem; }
.article-author { font-size: 1rem; }
.article-author h2, .article-related h2 { margin-top: 1rem; }
.article-medical-note { font-size: .9375rem; line-height: 1.65; border-left: 3px solid #516779; padding: 1rem 1.25rem; margin-bottom: 2rem; background: #f4f7fa; }
.article-medical-note p { margin: 0; }
@media(max-width: 600px) {
 .article-book-cta { grid-template-columns: 1fr; padding: 1.25rem; }
 .article-cover-link { width: 130px; }
 .article-buy-actions { flex-direction: column; align-items: stretch; }
 .article-direct-answer { font-size: 1.0625rem; }
}
.campaign-article .article-related { display: block; }
.campaign-article .article-related a, .campaign-article .article-related a:hover { color: var(--ink); font-size: 1rem; font-weight: 400; }
.campaign-article .article-buy-actions .button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1rem; background: var(--blue); color: #fff; border: 1px solid var(--blue); font-weight: 700; }
.campaign-article .article-buy-actions .article-kindle-button { background: var(--deep); border-color: var(--deep); }
.campaign-article .article-buy-actions .button:hover { background: #074466; }
.article-context-link { font-size: 1rem; }

.schema-breadcrumbs {padding-top:1.25rem;padding-bottom:1.25rem;} .schema-breadcrumbs nav {display:block;background:none;color:inherit;} .schema-breadcrumbs ol {display:flex;flex-wrap:wrap;gap:.4rem .65rem;list-style:none;padding:0;margin:0;font-size:.9rem;} .schema-breadcrumbs li+li::before {content:"/";margin-right:.65rem;} .schema-breadcrumbs a {color:#0067a7;}
/* WAR full-rules demonstration */
.war-game-controls {display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin:1.5rem 0;}
.war-game-controls label {font-weight:700;display:flex;align-items:center;gap:.6rem;}
.war-game-controls select,.war-game-reset {padding:.75rem;border:1px solid var(--line);background:#fff;color:var(--deep);font:inherit;}
.war-game-reset {cursor:pointer;}
.war-pile-counts {display:flex;gap:1rem;flex-wrap:wrap;}
.war-pile-counts>div {display:grid;gap:.4rem;padding:1rem;background:#fff;border-top:3px solid var(--gold);min-width:150px;}
.war-game-progress {font-weight:700;color:var(--deep);}
.war-game-explanation {padding:1rem 1.2rem;background:#fff;border-left:4px solid var(--orange);}
.war-game-explanation h3 {margin:0 0 .75rem;}
.war-game-explanation p {margin:.5rem 0;line-height:1.5;}
.war-game-cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;}
.war-game-back {width:220px;max-width:100%;grid-column:1/-1;justify-self:center;}
.war-play-card {min-width:0;background:#fff;border:2px solid transparent;text-align:left;}
.war-play-card>p {padding:.5rem .75rem;margin:0;font-weight:700;}
.war-play-card img {width:100%;height:auto;display:block;}
.war-play-winner {border-color:var(--gold);box-shadow:0 0 0 3px var(--gold);}
.war-card-mechanics {padding:.8rem;line-height:1.45;}
.war-card-mechanics p {margin:.5rem 0;}
.war-text-face {background:#111;color:white;padding:1.2rem;min-height:280px;display:flex;flex-direction:column;justify-content:space-between;gap:1rem;}
.war-text-face h3 {font:400 1.4rem/1.2 Georgia,serif;margin:0;}
.war-text-face strong {background:var(--gold);color:#111;padding:.75rem;}
.war-text-face p {margin:0;}
@media(max-width:450px){.war-game-cards {grid-template-columns:1fr;}.war-play-card {max-width:280px;justify-self:center;width:100%;}.war-game-controls {align-items:stretch;}.war-game-controls label {flex-wrap:wrap;}.war-pile-counts>div {min-width:0;flex:1 1 140px;}}
/* Full rules within the original flipping deck presentation. */
.war-reveal-card .war-text-face {position:absolute;inset:0;min-height:0;padding:1rem;backface-visibility:hidden;overflow:hidden;justify-content:center;gap:.7rem;}
.war-reveal-card .war-text-face h3 {font-size:1.15rem;line-height:1.15;margin:0;}
.war-reveal-card .war-text-face p {font-size:.8rem;margin:0;}
.war-reveal-card .war-text-face strong {font-size:1rem;}
.war-deck-interaction .war-pile-counts {justify-content:center;text-align:left;margin-top:1.5rem;}
.war-deck-interaction .war-game-explanation {text-align:left;margin-top:1rem;}
.war-live-effects {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin-top:1rem;text-align:left;}
.war-live-effects article {background:#fff;padding:.8rem;border-top:3px solid var(--gold);font-size:.85rem;}
.war-live-effects p {margin:.5rem 0;}
.war-multi-stage.stage-2,.war-multi-stage.stage-3 {height:auto;min-height:360px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.3rem;padding:1rem;}
.war-multi-stage.stage-2 .war-reveal-card,.war-multi-stage.stage-3 .war-reveal-card {position:relative;top:auto;left:auto;width:min(100%,230px);justify-self:center;transform:rotateY(180deg);}
.war-multi-stage.stage-2 .war-deck-button,.war-multi-stage.stage-3 .war-deck-button {display:none;}
@media(max-width:450px){.war-live-effects {grid-template-columns:1fr;}.war-reveal-card .war-text-face {padding:.6rem;}.war-reveal-card .war-text-face h3 {font-size:.9rem;}.war-reveal-card .war-text-face p {font-size:.7rem;}}
.stage-3 .war-reveal-card:not(.winner) {filter:none;}
.war-reveal-card .war-text-face {width:100%;height:100%;box-sizing:border-box;transform:rotateY(180deg);}
/* Keep primary and section navigation available while reading. */
.site-header,.ggk-nav-shell {position:sticky;top:0;z-index:100;}
.section-jump {position:sticky;top:var(--main-nav-height,92px);z-index:90;background:var(--paper,#fff);}
@media(max-width:800px){.section-jump {top:132px;}}
.footer-breadcrumbs ol {display:flex;flex-wrap:wrap;gap:.45rem;margin:0;padding:0;list-style:none;font-size:.85rem;}
.footer-breadcrumbs li+li::before {content:"›";padding-right:.45rem;opacity:.65;}
.footer-breadcrumbs [aria-current] {font-weight:700;}
.war-history-arrival {animation:war-history-flash 1.2s ease-out 1;}
@keyframes war-history-flash {0%,35% {background:rgba(246,199,0,.28);box-shadow:0 0 0 8px rgba(246,199,0,.15);}100% {background:transparent;box-shadow:none;}}
@media(prefers-reduced-motion:reduce){.war-history-arrival {animation:none;}}

.analytics-settings{position:fixed;bottom:1rem;left:1rem;z-index:90;background:#fff;color:#064b73;border:2px solid #064b73;border-radius:6px;padding:.55rem .8rem;font:inherit;font-size:.875rem;cursor:pointer}.analytics-choice{position:fixed;bottom:4.5rem;left:1rem;right:1rem;max-width:32rem;max-height:65vh;overflow:auto;z-index:100;background:#fff;color:#172633;border:2px solid #0067a7;border-radius:8px;padding:1rem;box-shadow:0 6px 30px #0003}.analytics-choice h2{font-size:1.1rem;margin:0 0 .5rem}.analytics-choice p{font-size:.9rem;line-height:1.4;margin:.5rem 0}.analytics-choice details{font-size:.85rem;line-height:1.4}.analytics-choice details summary{cursor:pointer;font-weight:700}.analytics-choice>div{display:flex;flex-wrap:wrap;gap:.5rem}.analytics-choice button{cursor:pointer;font:inherit}.analytics-choice a{color:#005b91}

.privacy-choices-link{border:0;background:transparent;color:inherit;font:inherit;text-decoration:underline;padding:0;cursor:pointer}.privacy-choices-link:focus-visible{outline:2px solid #0067a7;outline-offset:4px}

.account-nav-trigger{display:inline-flex;align-items:center;gap:.4rem;max-width:min(12rem,45vw);min-height:44px;padding:.3rem 0;background:transparent;border:0;color:inherit;font:inherit;cursor:pointer}
.account-nav-trigger>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-nav-trigger:focus-visible{outline:2px solid currentColor;outline-offset:4px}

/* Phone navigation expands vertically instead of scrolling sideways. */
.mobile-navigation,.mobile-navigation-content{display:contents}
.mobile-navigation-toggle{display:none}
@media(max-width:800px){
 .site-header .mobile-navigation,.ggk-header .mobile-navigation{display:block;width:100%}
 .mobile-section-navigation{display:block;width:min(100% - 3rem,1200px);margin:auto}
 .mobile-navigation-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;padding:.55rem .75rem;border:1px solid #ffffff40;border-radius:4px;background:transparent;color:#e1ddd1;font:inherit;font-weight:700;cursor:pointer}
 .mobile-navigation-toggle:focus-visible{outline:2px solid var(--gold,#f6c700);outline-offset:2px}
 .mobile-navigation-content{display:block}
 .mobile-navigation-content[data-state="closed"]{display:none}
 .site-header .mobile-navigation nav,.ggk-header .mobile-navigation nav,.mobile-section-navigation .ggk-subnav{display:flex;flex-direction:column;align-items:stretch;gap:0;overflow:visible;white-space:normal;width:100%;padding:.3rem 0;max-height:60vh;overflow-y:auto}
 .mobile-navigation-content nav>a,.mobile-navigation-content .account-nav-trigger{display:flex;align-items:center;min-height:44px;padding:.6rem .75rem;width:100%;max-width:100%;box-sizing:border-box}
 .mobile-section-navigation{padding:.5rem 0}
}

.chaos-card-placeholder{justify-self:center;width:min(70%,240px);aspect-ratio:2.5/3.5;border-radius:12px;background:#080808;color:#fff;border:1px solid #444;box-shadow:10px 15px 25px #073a5c33;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;text-align:center}
.chaos-card-placeholder span{font-size:2rem;font-weight:700;letter-spacing:.12em}
.chaos-card-placeholder small{font-size:.9rem}
.fiction-watch-art{display:block;width:100%;justify-self:center}
.fiction-watch-art img{display:block;width:100%;height:auto;border-radius:8px;box-shadow:10px 15px 25px #073a5c33}

/* Keep the blue homepage introduction across the opening viewport. */
.pro-hero{min-height:calc(100svh - 92px)}

.account-page h1{margin:1rem 0 2rem;font-size:clamp(2rem, 1.4rem + 2vw, 3rem)}
.account-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:2rem;min-height:0;width:100%;align-items:start}
.account-side{position:sticky;top:115px;align-self:start}.account-sidebar{display:block;width:100%;height:auto;background:var(--deep);color:#fff;border-radius:8px;padding:1rem}
.account-sidebar nav,.account-sidebar ul{display:block;list-style:none;margin:0;padding:0}.account-sidebar li{margin:0}.account-sidebar a{display:block;padding:.8rem;border-radius:4px;color:#fff;font-size:.92rem;text-decoration:none}.account-sidebar a[aria-current="page"]{background:#0067a7;border-left:3px solid var(--gold)}
.account-content{min-width:0}.account-content h2{font-size:1.8rem;margin-top:0}.account-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.5rem}.account-plans h3{font-size:1.6rem}.account-prices{display:flex;flex-wrap:wrap;gap:1.5rem}.account-prices strong{font-size:1.7rem}.account-shortcuts{display:grid;gap:.8rem;margin:1.5rem 0}.account-shortcuts a{display:block;padding:1rem;border:1px solid var(--line);border-left:4px solid var(--gold);text-decoration:none;font-weight:bold}
.account-notice{padding:1rem;background:#eef6fa;border-left:4px solid var(--gold)}.character-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.5rem 0}.character-card{background:var(--deep);color:#fff;border-radius:8px;padding:1.3rem}.character-card .section-label{color:var(--gold)}.character-card h3{font-size:1.4rem;margin:.7rem 0}.character-card dl{display:flex;gap:1rem;flex-wrap:wrap}.character-card dt{font-size:.8rem;color:#c7d6dd}.character-card dd{margin:0;font-weight:bold}.character-card button{width:100%;min-height:44px}
.character-dialog{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:1000;width:min(500px,calc(100vw - 2rem));max-height:85vh;overflow-y:auto;padding:2rem;background:#fff;color:var(--ink);border:2px solid var(--blue);border-radius:8px;box-shadow:0 0 0 100vmax #0008;display:grid;gap:1rem}.character-dialog input{width:100%;padding:.7rem}.character-dialog button{min-height:44px;padding:.6rem}
@media(max-width:800px){.account-layout{grid-template-columns:1fr;gap:1rem}.account-side{position:sticky;top:130px;z-index:80;background:#fff}.account-side .mobile-navigation{display:block}.account-side .mobile-navigation-toggle{color:var(--deep);border-color:var(--line);background:#fff}.account-sidebar{margin-top:.5rem}.character-cards{grid-template-columns:1fr}.account-page{padding-top:2rem}}

.account-plans .player-account-panel{min-width:0;margin:0;display:flex;flex-direction:column}.account-plans .rules-status{margin-top:auto}.membership-discount{font-weight:700;color:var(--blue)}
@media(max-width:1000px){.account-plans{grid-template-columns:1fr}}

/* Homepage published works: covers and editorial copy, rather than whole-card links. */
.published-showcase{background:#f3f6f8}.published-showcase .book-section-head{max-width:850px;margin-bottom:3rem}.published-shelf{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3.5rem 3rem}.published-work{display:grid;grid-template-columns:minmax(130px,38%) 1fr;gap:1.6rem;align-items:center;border-bottom:1px solid #c5d0d7;padding:0 0 2.8rem;min-width:0}.published-cover{display:block;perspective:900px;padding:1rem 0;text-decoration:none}.published-cover img{width:100%;height:auto;display:block;box-shadow:7px 10px 0 #18364326,14px 22px 26px #18364330;transform:rotate(-3deg);transition:transform .25s ease,box-shadow .25s ease}.published-cover:hover img,.published-cover:focus-visible img{transform:rotate(0deg) translateY(-5px);box-shadow:8px 14px 0 #18364320,16px 28px 30px #18364335}.published-copy{min-width:0}.published-copy h3{font:400 clamp(1.25rem, 1.05rem + 1vw, 1.75rem)/1.17 Georgia,serif;margin:.7rem 0 1rem;color:var(--blue)}.published-copy>p:not(.section-label){color:var(--muted);margin-bottom:1.3rem}.published-copy .section-label{font-size:.78rem}.published-copy .text-link{font-size:.95rem}.published-showcase .pro-inline-link{margin-top:2.5rem}
@media(max-width:1000px){.published-shelf{grid-template-columns:1fr}.published-work{grid-template-columns:200px 1fr;gap:2.5rem}}
@media(max-width:520px){.published-work{grid-template-columns:1fr;gap:1.3rem}.published-cover{width:190px;margin:0 auto}.published-copy h3{font-size:clamp(1.25rem, 1.05rem + 1vw, 1.75rem)}.published-shelf{gap:2.5rem}.published-showcase .book-section-head{margin-bottom:2rem}}
@media(prefers-reduced-motion:reduce){.published-cover img{transition:none}.published-cover:hover img,.published-cover:focus-visible img{transform:rotate(-3deg)}}

.fiction-knight-logo{display:flex;justify-content:center;text-decoration:none;--ggk-gold:#ddbe78;padding:1.5rem}.fiction-knight-logo .ggk-crest{flex-shrink:0}.fiction-knight-logo:focus-visible{outline:3px solid var(--gold);outline-offset:8px}

.fiction-article-art{margin:2rem 0 0;max-width:1100px}.fiction-article-art img{display:block;width:100%;height:auto;border-radius:6px}

.fiction-article-index{list-style:none;padding:0;margin:1.5rem 0;max-width:900px}.fiction-article-index li{padding:1.2rem 0;border-bottom:1px solid var(--line)}.fiction-article-index a{font-size:1.125rem;line-height:1.5}

.jri-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:3.5rem}.jri-layout>aside{align-self:start;position:sticky;top:120px}.jri-nav{display:flex;flex-direction:column;gap:.4rem}.jri-nav a{padding:.65rem .8rem;color:var(--ink);text-decoration:none;border-left:3px solid transparent}.jri-nav a[aria-current="page"],.jri-nav a:hover{color:var(--ink)}.jri-nav a[aria-current]{border-color:var(--gold);background:#e9f1f5;font-weight:700}.jri-copy{max-width:850px;min-width:0}.jri-copy h2{margin-top:2rem}.jri-copy h2:first-child{margin-top:0}.jri-copy p,.jri-copy li{line-height:1.75}.jri-actions{display:flex;flex-wrap:wrap;gap:1.3rem;align-items:center;margin-top:2rem}.jri-model{display:grid;grid-template-columns:repeat(4,1fr);list-style-position:inside;padding:0;gap:1rem;margin:2rem 0}.jri-model li{border-top:3px solid var(--gold);padding:1rem 0;font-weight:700}.jri-areas{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.jri-areas article{border-top:1px solid #b5c5cf;padding:1rem 0}.jri-status,.jri-notice{background:#edf5f8;border-left:4px solid #d8af36;padding:1.5rem;margin:2rem 0}.jri-status dl>div{display:grid;grid-template-columns:1fr 1fr;gap:1rem;padding:.55rem 0;border-bottom:1px solid #cddbe1}.jri-status dd{margin:0}.jri-status dt{font-weight:700}.jri-form{display:grid;gap:1.2rem}.jri-form label{display:grid;gap:.4rem;font-weight:600}.jri-form input,.jri-form textarea,.jri-form select{font:inherit;width:100%;padding:.7rem;border:1px solid #869cab;border-radius:3px;background:white;color:#163b4d}.jri-form textarea{resize:vertical}.jri-form .jri-confirm{display:flex;align-items:flex-start;gap:.7rem}.jri-form .jri-confirm input{width:20px;height:20px;flex-shrink:0}.jri-honeypot{position:absolute;left:-10000px}.jri-form .button{justify-self:start}.jri-copy blockquote{margin:1.5rem 0;border-left:3px solid var(--gold);padding:1rem 1.5rem;background:#edf5f8;line-height:1.75}.jri-copy a:focus-visible,.jri-form :focus-visible{outline:3px solid #bd8700;outline-offset:3px}
@media(max-width:1000px){.jri-layout{grid-template-columns:1fr;gap:2rem}.jri-layout>aside{position:static}.jri-nav{padding:1rem 0}.jri-model{grid-template-columns:1fr 1fr}.header-inner nav{gap:1rem}}
@media(max-width:520px){.jri-areas{grid-template-columns:1fr}.jri-status dl>div{grid-template-columns:1fr;gap:.25rem}.jri-actions{align-items:flex-start;flex-direction:column}.jri-model{grid-template-columns:1fr 1fr}.jri-copy{overflow-wrap:anywhere}}

.jri-layout .mobile-section-navigation .mobile-navigation-toggle{color:var(--ink);background:var(--pale);border-color:var(--line)}

/* Shared rows keep membership content aligned across the three plans. */
.account-plans .player-account-panel{display:grid;grid-row:span 5;grid-template-rows:subgrid;row-gap:1rem;align-content:start}
.account-plans .player-account-panel>p,.account-plans .player-account-panel>h3{margin:0}
.account-plans .account-prices{display:grid;grid-template-columns:1fr;gap:.5rem;align-content:start}
.account-plans .account-prices p{margin:0;white-space:nowrap}
.account-plans .rules-status{margin-top:0}
@media(max-width:1000px){.account-plans .player-account-panel{grid-row:auto;grid-template-rows:none}}

.profile-interests>label{display:grid;gap:.4rem;font-weight:700;margin-top:1rem}
.profile-interests select{width:100%;min-height:48px;border:1px solid #829ba8;padding:.7rem .8rem;font:1rem Arial,Helvetica,sans-serif;background:#fff;color:var(--ink)}
.profile-interests .player-check{font-weight:400}

.free-memberships{border:0;padding:0;margin:0}
.free-memberships>legend{font-size:1.5rem;font-weight:700;margin-bottom:.75rem}
.free-membership-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.5rem 0}
.free-membership-card{display:grid;grid-template-rows:auto auto auto 1fr auto;gap:.85rem;border:1px solid var(--line);padding:1.6rem;cursor:pointer;background:#fff}
.free-membership-card:has(input:checked){border-color:var(--blue);box-shadow:inset 0 0 0 2px var(--blue)}
.free-membership-card:focus-within{outline:3px solid var(--orange);outline-offset:3px}
.free-membership-card input{width:22px;height:22px;accent-color:var(--blue)}
.free-membership-card>strong{font-size:1.5rem;color:var(--ink)}
.free-membership-price{font-size:1.6rem;font-weight:700}
.free-membership-actions{display:flex;gap:1rem;flex-wrap:wrap;margin:1rem 0 3rem}
@media(max-width:1000px){.free-membership-grid{grid-template-columns:1fr}}

.free-membership-actions button{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:.75rem 1.25rem;background:var(--deep);color:#fff;border:0;font:700 1rem Arial,Helvetica,sans-serif;cursor:pointer}
.free-membership-actions button:hover{background:var(--blue)}
.free-membership-actions button[name="clearMembership"]{background:#fff;color:var(--deep);border:1px solid var(--line)}

/* WAR battle controls */
.war-battle-bar { display:flex; justify-content:space-between; flex-wrap:wrap; gap:.5rem 1rem; padding:.65rem .1rem; color:var(--deep); font-size:.875rem; font-weight:700; }
.war-battle-status { display:flex; align-items:center; justify-content:center; gap:.75rem; min-height:76px; padding:1rem; background:#d9e5ec; border:1px solid #b7cbd8; color:#163b51; }
.war-battle-status p { margin:0; font-size:1rem; font-weight:700; line-height:1.4; }
.war-status-icon { flex:none; display:flex; }
.war-battle-status.tie { background:#f7dfb4; border-color:#bb8135; color:#613a10; }
.war-battle-status.win { background:#e9efcd; border-color:#899b40; color:#344511; }
.war-deck-control { display:inline-flex; align-items:center; justify-content:center; gap:.85rem; min-width:min(280px,100%); min-height:60px; border:1px solid #597284; border-bottom:4px solid #071e2c; border-radius:8px; background:linear-gradient(180deg,#234b63,#102f43); padding:1rem 1.35rem; font-size:1rem; font-weight:800; box-shadow:0 5px 0 #aebfca,0 9px 18px #16394b22; transition:transform .15s,box-shadow .15s,background .15s; }
.war-deck-control span { padding:0; color:inherit; }
.war-deck-control .war-control-icon { display:flex; color:#f6ca69; }
.war-deck-control:hover:not(:disabled) { background:linear-gradient(180deg,#326381,#163e55); transform:translateY(-2px); box-shadow:0 7px 0 #aebfca,0 11px 22px #16394b33; }
.war-deck-control:active:not(:disabled) { transform:translateY(3px); box-shadow:0 2px 0 #aebfca; }
.war-deck-control.war-action-escalate { background:linear-gradient(180deg,#a34d27,#71301a); border-color:#bf6e42; border-bottom-color:#481b0d; }
.war-deck-control.war-action-escalate:hover { background:linear-gradient(180deg,#b45b32,#81371e); }
.war-deck-control.war-action-claim .war-control-icon { color:#ffe192; }
.war-pile-counts { display:flex; justify-content:center; flex-wrap:wrap; gap:1rem 2rem; margin:1.5rem 0 .5rem; color:var(--muted); font-size:.875rem; }
.war-pile-counts strong { color:var(--deep); margin:0 .4rem; font-size:1rem; }
.war-history-entry .war-score-breakdown { font-size:.875rem; padding:.5rem .7rem; background:#dbe7ed; color:#173c50; margin:.7rem 0 1rem; }
.war-history-heading { font-size:.875rem; letter-spacing:.035em; }
.war-history-entry a { font-size:.875rem; }
.war-winner-label { font-size:.875rem; }
.war-deck-hint { font-size:.875rem; }
@media (prefers-reduced-motion:reduce) { .war-deck-control { transition:none; } }

/* Gaming Group Knight reading cards and campaign separation. */
.ggk-note-card { color:inherit; text-decoration:none; display:block; border-radius:2px; }
.ggk-note-card article { height:100%; transition:border-color .2s,background .2s; }
.ggk-note-card:hover article { border-color:var(--ggk-gold); background:#243d47; }
.ggk-note-card:focus-visible { outline:3px solid var(--ggk-gold); outline-offset:5px; }
.ggk-note-grid article .ggk-note-action { margin-top:1.5rem; letter-spacing:0; text-transform:none; font-size:.95rem; }
.ggk-campaign-divider { border-top:2px solid var(--ggk-gold); }
.ggk-hero-link { overflow-wrap:anywhere; }

.war-win-scoreboard { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin-top:1.75rem; }
.war-win-scoreboard>div { display:grid; gap:.35rem; padding:1rem; border:1px solid #b7cbd8; border-top:3px solid #234b63; background:#f4f8fa; color:#173c50; }
.war-win-scoreboard span { font-size:.875rem; font-weight:700; }
.war-win-scoreboard strong { font-size:2rem; line-height:1.2; }
.war-win-scoreboard small { font-size:.875rem; font-weight:400; }
.war-win-scoreboard .champion { border-color:#bb8135; background:#fff0d4; }
.war-game-finish { margin-top:1.5rem; padding:1.5rem; border:2px solid #bb8135; background:#fff0d4; color:#51380e; }
.war-game-finish svg { margin:0 auto .75rem; }
.war-game-finish h3 { font-size:1.6rem; margin:0 0 .75rem; }
.war-game-finish p { margin:.5rem 0 0; font-size:1rem; }

.war-profile-score { margin:1.5rem 0 0; font-size:.875rem; color:#173c50; line-height:1.6; }
.war-profile-score a { color:#173c50; text-underline-offset:.2rem; }
.war-save-error { color:#7d271c; border:1px solid #c88071; background:#fff0eb; padding:1rem; font-size:1rem; }

/* Keep the WAR table sized to its panel, including narrow and short screens. */
.war-deck-interaction { container-type:inline-size; box-sizing:border-box; width:100%; max-width:48rem; justify-self:center; padding:clamp(.75rem,2vw,1.5rem); border:1px solid #b7cbd8; border-radius:18px; background:linear-gradient(145deg,#f8fbfd,#e1ebf1); box-shadow:0 12px 32px #16394b14; }
.war-deck-stage { --card-width:min(230px,calc((100cqw - 48px) / 2),27svh); --card-shift:calc(var(--card-width) / 2 + 8px); height:calc(var(--card-width) * 1.4 + 3rem); }
.war-deck-control { box-sizing:border-box; min-width:0; width:min(100%,22rem); padding:clamp(.75rem,2cqw,1rem); }
.war-battle-status { box-sizing:border-box; min-height:60px; padding:.75rem; border-radius:10px; }
.war-win-scoreboard { gap:.6rem; margin-top:1rem; }
.war-win-scoreboard>div { padding:.75rem; border-radius:8px; }
.war-win-scoreboard strong { font-size:clamp(1.5rem,6cqw,2rem); }
.war-deck-interaction .war-pile-counts { gap:.5rem 1rem; margin-top:1rem; }
.war-deck-interaction .war-deck-hint { max-width:none; margin-top:.75rem; }
.war-profile-score { margin-top:1rem; }
.war-history-panel { min-width:0; overflow-wrap:anywhere; }
@media(max-width:400px) { .war-battle-bar { justify-content:center; gap:.35rem .75rem; font-size:.8rem; } .war-winner-label { font-size:.65rem; padding:.3rem; } .war-win-scoreboard span { font-size:.8rem; } }

/* A dedicated viewport for play: history, table and scores stay together. */
.war-screen-toolbar { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; gap:1rem; color:#173c50; }
.war-screen-toolbar button { min-height:40px; padding:.5rem .85rem; border:1px solid #597284; border-radius:8px; background:#fff; color:#173c50; font:700 .875rem Arial,sans-serif; cursor:pointer; }
.war-screen-toolbar button:focus-visible { outline:3px solid var(--orange); outline-offset:3px; }
.war-screen-fit { position:fixed; inset:0; z-index:100; height:100dvh; box-sizing:border-box; padding:clamp(.5rem,1.5vh,1rem); overflow:auto; border-top:3px solid var(--orange); }
.war-screen-fit .war-showcase-grid { width:100%; max-width:1400px; height:100%; margin:auto; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); grid-template-rows:auto minmax(0,1fr); grid-template-areas:"toolbar toolbar" "history deck"; gap:.75rem clamp(.75rem,2vw,2rem); }
.war-screen-fit .war-screen-toolbar { grid-area:toolbar; }
.war-screen-fit .war-showcase-copy { display:none; }
.war-screen-fit .war-deck-interaction { height:100%; max-width:none; display:flex; flex-direction:column; align-items:stretch; gap:.45rem; padding:.75rem; }
.war-screen-fit .war-deck-stage { flex:1; min-height:0; height:auto; --card-width:min(230px,calc((100cqw - 48px) / 2),max(70px,calc((100dvh - 365px) / 1.4))); }
.war-screen-fit .war-battle-bar { padding:0; }
.war-screen-fit .war-battle-status { min-height:0; padding:.6rem; }
.war-screen-fit .war-battle-status p { font-size:.875rem; }
.war-screen-fit .war-deck-control { align-self:center; min-height:44px; padding:.6rem 1rem; font-size:.875rem; }
.war-screen-fit .war-profile-score,.war-screen-fit .war-win-scoreboard,.war-screen-fit .war-deck-interaction .war-pile-counts,.war-screen-fit .war-deck-interaction .war-deck-hint { margin:0; }
.war-screen-fit .war-win-scoreboard>div { padding:.45rem; gap:.15rem; }
.war-screen-fit .war-win-scoreboard strong { font-size:1.5rem; }
.war-screen-fit .war-deck-hint { font-size:.75rem; line-height:1.35; }
.war-screen-fit .war-history-panel { padding-top:.65rem; }
.war-screen-fit .war-history-entry { padding:.6rem 0; }
.war-screen-fit .war-history-entry:first-of-type { margin-top:.5rem; }
.war-screen-fit .war-history-entry h3 { font-size:1.25rem; }
.war-screen-fit .war-history-entry p { font-size:1rem; }
.war-screen-fit .war-history-entry .war-score-breakdown { margin:.5rem 0; font-size:.875rem; }
.war-screen-fit .war-game-finish { margin:0; padding:.5rem; }
.war-screen-fit .war-game-finish svg { display:none; }
.war-screen-fit .war-game-finish h3 { font-size:1.1rem; margin:0; }
.war-screen-fit .war-game-finish p { margin:.2rem 0; font-size:.875rem; }
@media(max-width:650px) {
 .war-screen-fit .war-showcase-grid { grid-template-columns:1fr; grid-template-rows:auto minmax(300px,1fr) auto; grid-template-areas:"toolbar" "deck" "history"; gap:.5rem; }
 .war-screen-fit .war-history-panel { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.5rem; padding:0; }
 .war-screen-fit .war-history-panel>.section-label,.war-screen-fit .war-history-panel>details { grid-column:1/-1; margin:0; }
 .war-screen-fit .war-history-entry,.war-screen-fit .war-history-entry:first-of-type { margin:0; padding:.35rem 0; }
 .war-screen-fit .war-history-entry h3 { font-size:1rem; }
 .war-screen-fit .war-history-entry p,.war-screen-fit .war-history-entry a { font-size:.875rem; line-height:1.3; }
 .war-screen-fit .war-history-heading { font-size:.75rem; }
 .war-screen-fit .war-deck-stage { --card-width:min(170px,calc((100cqw - 48px) / 2),max(70px,calc((100dvh - 620px) / 1.4))); }
}
.war-showcase-grid { grid-template-areas:"toolbar toolbar" "copy copy" "history deck"; }
.war-screen-toolbar { grid-area:toolbar; }
@media(max-width:850px) { .war-showcase-grid { grid-template-areas:"toolbar" "copy" "deck" "history"; } }

/* Service-ribbon controls for entering and leaving the WAR table. */
.war-screen-toolbar button {
 position:relative; isolation:isolate; overflow:hidden; min-height:44px; padding:.65rem 1.3rem .8rem;
 border:1px solid #e1c58a; border-bottom:3px solid #826232; border-radius:3px;
 background:linear-gradient(180deg,#ffffff26,transparent 45%,#00000038),linear-gradient(90deg,#182e3c 0 9%,#9b763c 9% 13%,#702b2b 13% 20%,#102b3c 20% 80%,#702b2b 80% 87%,#9b763c 87% 91%,#182e3c 91%);
 color:#fff6dc; font:800 .875rem/1.2 Arial,sans-serif; letter-spacing:.035em;
 text-shadow:0 1px 2px #000; box-shadow:0 2px 0 #604a2c,0 4px 10px #16394b30,inset 0 1px 0 #fff6d97a;
 transition:transform .15s,box-shadow .15s,filter .15s;
}
.war-screen-toolbar button::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background:repeating-linear-gradient(0deg,transparent 0 2px,#ffffff0b 2px 3px); }
.war-screen-toolbar button::after { content:""; position:absolute; bottom:0; left:0; right:0; height:5px; background:linear-gradient(90deg,#ad843f 0 10%,#782c2d 10% 20%,#e5ca85 20% 25%,#294e62 25% 75%,#e5ca85 75% 80%,#782c2d 80% 90%,#ad843f 90%); box-shadow:0 -1px 0 #f9dfa250; }
.war-screen-fit .war-screen-toolbar button { background:linear-gradient(180deg,#ffffff26,transparent 45%,#00000038),linear-gradient(90deg,#253927 0 9%,#9b763c 9% 13%,#702b2b 13% 20%,#203525 20% 80%,#702b2b 80% 87%,#9b763c 87% 91%,#253927 91%); }
.war-screen-toolbar button:hover { filter:brightness(1.16); transform:translateY(-1px); box-shadow:0 3px 0 #604a2c,0 6px 14px #16394b38,inset 0 1px 0 #fff6d97a; }
.war-screen-toolbar button:active { transform:translateY(2px); box-shadow:0 1px 0 #604a2c,inset 0 2px 5px #0005; }
.war-screen-toolbar button:focus-visible { outline:3px solid #b96c19; outline-offset:4px; }
@media(prefers-reduced-motion:reduce) { .war-screen-toolbar button { transition:none; } .war-screen-toolbar button:hover,.war-screen-toolbar button:active { transform:none; } }
.war-win-scoreboard span,.war-profile-score a,.war-history-heading span { overflow-wrap:anywhere; }

/* Keep the page introduction first; the fitted table is an explicit play view. */
.war-showcase-grid { grid-template-areas:"copy copy" "history deck"; }
.war-showcase-copy .war-screen-toolbar { width:100%; max-width:540px; margin:1rem 0 1.5rem; }
@media(max-width:850px) { .war-showcase-grid { grid-template-areas:"copy" "deck" "history"; } }
.war-showcase-copy .war-screen-toolbar { max-width:none; gap:2rem; flex-wrap:wrap; }
.war-showcase-copy .war-screen-toolbar button { margin-left:auto; flex-shrink:0; }

/* Overlapping desktop chapters: tall panels finish scrolling before pinning. */
@media (min-width:1000px) and (prefers-reduced-motion:no-preference) {
  #ggk-main.ggk-stacking { position:relative; isolation:isolate; }
  #ggk-main.ggk-stacking > section { position:sticky; top:var(--ggk-stack-top); z-index:var(--ggk-stack-layer); box-shadow:0 -12px 30px #0002; }
  #ggk-main.ggk-stacking > .ggk-hero { background:#111f27; }
}
#ggk-main > section { scroll-margin-top:var(--ggk-nav-height,160px); }

@media (min-width:1000px) and (prefers-reduced-motion:no-preference) {
  #ggk-main.ggk-stacking > section:last-child {
    min-height:calc(100dvh - var(--ggk-nav-height,160px));
    box-sizing:border-box;
  }
}
.fiction-game-divider { border:0; border-top:2px solid var(--gold); margin:0; }

/* Aethyra campaign landing, scoped to preserve the article and site architecture. */
.aethyra-landing{background:#12272d;color:#e8e4d7}.aethyra-landing .eyebrow{color:#d9b56e}.aethyra-hero{padding:clamp(2.5rem,6vw,6rem) 0;background:#12272d}.aethyra-hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:3rem;align-items:center}.aethyra-hero h1{font:400 clamp(2.8rem,5.5vw,5.7rem)/1.08 Georgia,serif;margin:1rem 0 1.5rem;letter-spacing:-.025em}.aethyra-hero h1 em{color:#d9b56e}.aethyra-landing p{line-height:1.75}.aethyra-hero .aethyra-intro{font:1.35rem/1.5 Georgia,serif;color:#f4e5c7}.aethyra-hero figure{margin:0;transform:rotate(1deg);border:1px solid #a88b55;padding:.65rem;background:#1b3438;box-shadow:0 20px 45px #0005}.aethyra-hero img{width:100%;display:block;aspect-ratio:1.12;object-fit:cover}.aethyra-hero figcaption{font-size:.875rem;line-height:1.5;padding:.8rem .25rem .25rem;color:#d6d7c9}.aethyra-actions{display:flex;gap:1.5rem;flex-wrap:wrap;align-items:center;margin:1.75rem 0}.aethyra-landing .button{background:#d9b56e;color:#172c31}.aethyra-landing a{color:#e8c886}.aethyra-landing a:focus-visible{outline:3px solid #f1ce77;outline-offset:5px}.aethyra-fine{font-size:.875rem;color:#c8d5cf}.aethyra-section-links{display:flex;flex-wrap:wrap;gap:1.5rem;padding-block:1.3rem;border-top:1px solid #9c8559;border-bottom:1px solid #64766a}.aethyra-section-links a{text-decoration:none;font-weight:700}.aethyra-landing h2{font:400 clamp(2rem,4vw,3.3rem)/1.15 Georgia,serif;margin:.75rem 0 1.6rem;color:#f4e5c7}.aethyra-landing h3{font:400 1.6rem/1.25 Georgia,serif;color:#f4e5c7;margin:.7rem 0 1rem}.aethyra-two-column{display:grid;grid-template-columns:1fr 1fr;gap:3rem}.aethyra-world{background:#183039}.aethyra-atlas{background:#233c3e}.aethyra-atlas-stats{display:grid;grid-template-columns:repeat(3,1fr);border-block:1px solid #88917a;margin:2rem 0 3rem;padding:1.5rem 0;gap:1rem}.aethyra-atlas-stats div{display:grid;gap:.5rem}.aethyra-atlas-stats strong{font:2.6rem Georgia,serif;color:#e7c683}.aethyra-atlas-stats span{font-size:1rem}.aethyra-status{border-left:3px solid #d9b56e;padding-left:1.5rem}.aethyra-table{background:#12272d}.aethyra-table-intro{max-width:850px}.aethyra-table-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin:2rem 0}.aethyra-table-cards article{padding:1.5rem;border-top:2px solid #d9b56e;background:#1b3438;display:flex;flex-direction:column}.aethyra-table-cards .text-link{margin-top:auto}.aethyra-separate{border-top:1px solid #64766a;padding-top:1.5rem}.aethyra-journal-title{font:400 clamp(2.3rem,4.5vw,4rem)/1.15 Georgia,serif;margin:1rem 0 2rem}#aethyra-world,#aethyra-atlas,#aethyra-table,#aethyra-journal{scroll-margin-top:110px}@media(max-width:800px){.aethyra-hero-grid,.aethyra-two-column,.aethyra-table-cards{grid-template-columns:1fr;gap:1.75rem}.aethyra-hero figure{transform:none}.aethyra-hero img{aspect-ratio:1.6}.aethyra-atlas-stats{grid-template-columns:1fr}.aethyra-section-links{gap:1rem}.aethyra-status{padding-left:1rem}}

.aethyra-actions .button{display:inline-flex;align-items:center;justify-content:center;padding:14px 20px;border:1px solid #d9b56e;background:#d9b56e;color:#12272d;font-weight:700;text-decoration:none;border-radius:2px}.aethyra-actions .button:hover{background:#ecd19a}.aethyra-actions .button:focus-visible{outline:3px solid white;outline-offset:4px}

/* Account sign-out uses the same navigation treatment as account links. */
.account-sidebar nav button{display:block;width:100%;min-height:44px;padding:.8rem;border:0;border-radius:4px;background:transparent;color:#fff;font:inherit;font-size:.92rem;line-height:1.5;text-align:left;cursor:pointer}.account-sidebar nav button:hover{background:#0067a7}.account-sidebar nav button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}

.meit-video{margin:2rem 0;padding:1.5rem 0;border-top:1px solid var(--gold);border-bottom:1px solid var(--gold)}.meit-video-frame{aspect-ratio:16/9;width:100%;background:#12272d}.meit-video-frame iframe{display:block;width:100%;height:100%;border:0}.meit-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:center}.meit-thumbnail img{display:block;width:100%;height:auto}.meit-thumbnail:focus-visible{outline:3px solid var(--gold);outline-offset:4px}@media(min-width:801px){.book-detail-grid .buy-panel{position:sticky;top:120px;align-self:start}}@media(max-width:800px){.meit-feature-grid{grid-template-columns:1fr;gap:1.5rem}}

.beta-order-note{font-size:.92rem;line-height:1.5;max-width:42rem}.beta-order-link{display:inline-flex;align-items:center;min-height:44px;padding:.8rem 1.2rem;margin:0 0 1.5rem;background:var(--gold);color:var(--deep);font-weight:700;text-decoration:none;border:1px solid var(--gold);border-radius:3px}.beta-order-link:hover{filter:brightness(1.08)}.beta-order-link:focus-visible{outline:3px solid #0067a7;outline-offset:4px}

.house-promo{margin:3rem 0;padding:1rem;border:6px double #c5a350;background:#12272d;color:#fff;box-shadow:inset 0 0 0 1px #68592e;overflow:hidden}.house-promo-top,.house-promo-controls{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;font-size:.875rem}.house-promo-top{padding-bottom:.8rem;border-bottom:1px solid #c5a350;text-transform:uppercase;letter-spacing:.08em}.house-promo button{background:transparent;color:#f4dd9c;border:1px solid #c5a350;padding:.5rem .7rem;min-height:44px;cursor:pointer;font:inherit}.house-promo-spread{display:grid;grid-template-columns:minmax(120px,30%) 1fr;align-items:center;gap:1.5rem;padding:1.5rem .5rem;animation:house-promo-fade 1.2s ease-out}.house-promo figure{margin:0}.house-promo img{display:block;width:100%;height:260px;object-fit:contain}.house-promo h2{font-family:Georgia,serif;font-size:clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem);color:#f4dd9c;line-height:1.1;margin:.6rem 0 1rem}.house-promo p{color:#fff}.house-promo-title{font-weight:700;text-transform:uppercase;letter-spacing:.04em;font-size:.9rem}.house-promo-action{display:inline-flex;align-items:center;min-height:44px;background:#c5a350;color:#12272d;padding:.7rem 1rem;font-weight:700;text-decoration:none}.house-promo-controls{border-top:1px solid #c5a350;padding-top:.8rem}.house-promo a:focus-visible,.house-promo button:focus-visible{outline:3px solid white;outline-offset:3px}@keyframes house-promo-fade{from{opacity:.7}to{opacity:1}}@media(prefers-reduced-motion:reduce){.house-promo-spread{animation:none}}@media(max-width:600px){.house-promo-spread{grid-template-columns:1fr;padding:1rem 0}.house-promo img{height:220px}.house-promo-controls{font-size:.875rem}}

/* Compact house display ads. */
.house-promo{max-width:760px;margin:2rem auto;padding:12px 16px;border:1px solid #d8dee5;border-radius:4px;background:#fff;color:#243342;box-shadow:none;font-family:Arial,sans-serif}.house-promo-top{padding-bottom:8px;border:0;color:#657381;text-transform:none;letter-spacing:0;font-size:12px}.house-promo-top button{min-height:32px;padding:4px 8px;font-size:12px}.house-promo button{border-color:#d8dee5;color:#43566b;background:#fff;border-radius:3px}.house-promo-spread{grid-template-columns:110px minmax(0,1fr);gap:18px;padding:8px 0 14px;min-height:168px}.house-promo img{height:150px;width:110px;object-fit:contain}.house-promo-title{font-size:12px;font-weight:500;text-transform:none;letter-spacing:0;margin:0 0 6px!important}.house-promo p{color:#43566b;font-size:14px;line-height:1.5;margin:0 0 10px}.house-promo h2{font-family:Arial,sans-serif;font-size:22px;line-height:1.2;color:#1c344d;margin:0 0 8px}.house-promo-action{min-height:40px;padding:8px 14px;background:#0067a7;color:#fff;border-radius:4px;font-size:14px}.house-promo-controls{padding-top:8px;border-color:#edf0f3;font-size:12px;color:#657381}.house-promo-controls button{min-height:32px;padding:4px 8px;font-size:12px}.house-promo a:focus-visible,.house-promo button:focus-visible{outline-color:#0067a7}@media(max-width:600px){.house-promo-spread{grid-template-columns:80px minmax(0,1fr);gap:12px}.house-promo img{height:120px;width:80px}.house-promo h2{font-size:19px}.house-promo-action{font-size:13px}.house-promo-controls{gap:8px}}

.nonfiction-section-nav{background:transparent;box-shadow:none}.nonfiction-section-nav a{border:0;background:transparent;border-radius:0;min-height:44px;display:inline-flex;align-items:center;padding:.45rem .7rem;text-shadow:0 1px 2px #fff}.nonfiction-section-nav a:hover{background:transparent;border:0;color:var(--blue);text-decoration:underline;text-underline-offset:5px}.nonfiction-section-nav a:focus-visible{outline:2px solid var(--blue);outline-offset:2px}

.purpose-cta-section .article-book-cta { margin: 0; }
.purpose-cta-text { grid-template-columns: 1fr; }

/* JRI doctoral study overview */
.jri-study-card{border-top:3px solid var(--gold);border-bottom:1px solid #b5c5cf;padding:1.75rem 0 2rem;margin:2rem 0}.jri-study-card .eyebrow{margin-top:0}.jri-study-card h2{margin-top:.5rem}.jri-study-status{font-weight:700;color:var(--ink)}.jri-study-facts{margin:2rem 0}.jri-study-facts>div{display:grid;grid-template-columns:minmax(150px,1fr) 2fr;gap:1.5rem;padding:1rem 0;border-bottom:1px solid #cddbe1}.jri-study-facts dt{font-weight:700}.jri-study-facts dd{margin:0;line-height:1.65}.jri-study-questions{padding-left:1.5rem}.jri-study-questions li{padding-left:.5rem;margin:1rem 0}.jri-study-questions li::marker{color:var(--ink);font-weight:700}@media(max-width:600px){.jri-study-facts>div{grid-template-columns:1fr;gap:.35rem}}

/* All promotion slides share a grid cell: the tallest reserves space at every width. */
.house-promo-slides{display:grid;min-width:0}
.house-promo-slides>.house-promo-spread{grid-area:1 / 1;align-self:start;min-width:0;visibility:hidden;pointer-events:none;animation:none}
.house-promo-slides>.house-promo-spread[data-active="true"]{visibility:visible;pointer-events:auto}
.house-promo-spread>div{min-width:0;overflow-wrap:anywhere}

/* Focused mobile and keyboard accessibility improvements. */
.skip:focus{position:fixed;z-index:1000}
main :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.house-promo button,.house-promo-action{min-height:44px;font-size:.875rem}
.house-promo-top,.house-promo-controls,.house-promo-title{font-size:.875rem}
.house-promo-controls{column-gap:.5rem;row-gap:.75rem}
.house-promo-controls>span{overflow-wrap:anywhere}
.analytics-choice button{min-height:44px;padding:.5rem .75rem}
@media(max-width:400px){.house-promo-spread{grid-template-columns:1fr}.house-promo figure{justify-self:center}.house-promo img{width:100px;height:140px}.house-promo-action{max-width:100%;white-space:normal}}

.article-needs-nav{display:flex;flex-wrap:wrap;gap:.75rem;margin:0 0 3rem}
.article-needs-nav a{display:inline-flex;align-items:center;min-height:44px;padding:.65rem 1rem;border:1px solid var(--line);color:var(--deep);background:var(--pale);border-radius:3px;font-size:1rem;white-space:normal}
.article-needs-nav a:hover{border-color:var(--blue);text-decoration:underline}
.article-need-group{scroll-margin-top:11rem;margin-top:3.5rem;padding-top:2rem;border-top:2px solid var(--orange)}
.article-need-group>h2{font-size:clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem);margin-bottom:1rem}
.article-need-intro{max-width:48rem;color:var(--muted)}
.article-need-group .blog-row h3{font:400 clamp(1.25rem, 1.05rem + 1vw, 1.75rem)/1.2 Georgia,serif;margin:0 0 .7rem;color:var(--deep)}
@media(max-width:600px){.article-needs-nav{display:grid;grid-template-columns:1fr}.article-need-group{margin-top:2.5rem}}

/* Give section entry actions a clear priority while preserving secondary links. */
.section-primary-action{display:inline-flex;align-items:center;justify-content:center;min-height:48px;max-width:100%;padding:.8rem 1.2rem;border:1px solid var(--blue);border-radius:3px;background:var(--blue);color:#fff;line-height:1.4;text-align:center;white-space:normal}
.section-primary-action:hover{background:var(--deep);border-color:var(--deep);color:#fff}
.section-primary-action:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
.hero .section-primary-action,.fiction-lead .section-primary-action{background:var(--gold);border-color:var(--gold);color:var(--deep)}
.hero .section-primary-action:focus-visible{outline-color:#fff}
.section-secondary-action{background:transparent;border-color:var(--line);color:var(--deep);font-weight:600}
.section-secondary-action:hover{background:var(--pale);filter:none}

/* Content-led actions: editorial ink, illustrated game boxes, parchment worlds. */
main :is(.button,.section-primary-action,.section-secondary-action,.house-promo-action,.fiction-account-link,.beta-order-link){
 display:inline-flex;align-items:center;justify-content:center;gap:.65rem;min-height:48px;max-width:100%;padding:.85rem 1.25rem;
 border:1px solid #07517f;border-bottom:3px solid #d3a534;border-radius:4px 4px 10px 4px;
 background:linear-gradient(135deg,#07517f,#12394e);color:#fff;font:700 1rem/1.4 Arial,sans-serif;
 text-decoration:none;text-align:center;white-space:normal;overflow-wrap:anywhere;box-shadow:0 3px 0 #12394e18;
}
main :is(.button,.section-primary-action,.house-promo-action,.fiction-account-link):hover{background:#12394e;color:#fff;border-color:#07517f;border-bottom-color:#e5bc51}
main :is(.button,.section-primary-action,.section-secondary-action,.house-promo-action,.fiction-account-link,.beta-order-link):focus-visible{outline:3px solid #b77800;outline-offset:4px}
main[data-content-theme="fiction"] :is(.button,.section-primary-action,.house-promo-action,.fiction-account-link),
main :is(.button,.section-primary-action,.house-promo-action)[href^="/gaming-group-knight"],
main :is(.button,.section-primary-action,.house-promo-action)[href^="/fiction"]{
 background:linear-gradient(135deg,#f2e4c3,#dbc291);color:#213b36;border-color:#8c6b2f;border-bottom-color:#8c6b2f;
 border-radius:3px;font-family:Georgia,serif;box-shadow:inset 0 0 0 3px #fff4,0 3px 0 #213b3618;
}
main :is(.button,.section-primary-action,.house-promo-action)[href="/games"],
main :is(.button,.section-primary-action,.house-promo-action)[href^="/games/war"],
main #war .section-secondary-action{background:linear-gradient(135deg,#273540,#121e28);color:#f6e4b3;border-color:#b79a56;border-bottom-color:#b79a56;border-radius:4px;letter-spacing:.025em}
main :is(.button,.section-primary-action,.house-promo-action)[href^="/games/chaos"],
main #chaos .section-secondary-action{background:linear-gradient(115deg,#442067,#163f66);color:#fff;border-color:#765199;border-bottom-color:#dfaf49;border-radius:14px 4px 14px 4px}
main :is(.button,.section-primary-action,.house-promo-action)[href*="youtube.com"]{background:#8d2028;color:#fff;border-color:#8d2028;border-bottom-color:#c79535}
main .section-secondary-action{background:#fff;color:#12394e;box-shadow:none}
main[data-content-theme="fiction"] .section-secondary-action{background:#f8f1e3;color:#213b36;border-color:#8c6b2f}
main :is(.button,.section-primary-action,.house-promo-action,.section-secondary-action,.fiction-account-link):hover{filter:brightness(.94)}
main .text-link:not(.section-primary-action){padding:.5rem .1rem;min-height:44px;border-bottom-width:2px}
#resources>.wrap>.pro-inline-link{margin:2rem 0 2rem}
.fiction-feature .section-primary-action,.about-copy>.text-link{margin-top:1rem}
.section-jump-band{position:sticky;top:var(--main-nav-height,92px);z-index:90;width:100%;background:#12394e;border-bottom:2px solid #d3a534;box-shadow:0 4px 12px #12394e20}
.section-jump-band .section-jump{position:static;background:transparent;padding-block:.65rem}
.section-jump-band .section-jump a{color:#fff;text-shadow:none;background:transparent;border:1px solid transparent;border-radius:3px}
.section-jump-band .section-jump a:hover{color:#fff;background:#ffffff16;border-color:#ffffff55;text-decoration:underline;text-decoration-color:currentColor;text-underline-offset:.3em}
.section-jump-band .section-jump a:focus-visible{outline:3px solid #f4cd71;outline-offset:2px}
@media(max-width:800px){.section-jump-band{top:132px}}

/* Signature editorial surfaces and restrained interactive detail. */
.signature-grid,.article-entrance-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.65fr);gap:3rem;align-items:center}
.signature-art{margin:0;padding:.65rem;border:1px solid #a88b55;background:#213b36;box-shadow:10px 10px 0 #bd944b22}
.signature-art img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.signature-art figcaption{color:#f2e4c3;font:.85rem/1.5 Georgia,serif;padding:.8rem .3rem .2rem}
.field-note{position:relative;isolation:isolate;padding:2.4rem 2rem 2rem;background:linear-gradient(160deg,#fff2a6 0%,#ffed8b 75%,#f4d96d 100%);border:0;border-radius:1px 1px 22px 1px;box-shadow:2px 6px 10px #001e3430,12px 18px 22px -14px #001e3480;transform:rotate(-1.5deg)}
.field-note::before{content:"";position:absolute;top:-14px;left:50%;width:110px;height:30px;transform:translateX(-50%) rotate(3deg);background:#fff9d9b8;box-shadow:0 1px 3px #44370f15;border-left:1px solid #ffffff70;border-right:1px solid #ffffff70;pointer-events:none}
.field-note::after{content:"";position:absolute;right:0;bottom:0;width:27px;height:27px;background:linear-gradient(135deg,transparent 48%,#d8b54f 50%,#fff1a0 80%);border-radius:0 0 22px 0;pointer-events:none}
.field-note .section-label{color:#785017}
.field-note ol{list-style:none;padding:0;margin:1rem 0}.field-note li{display:flex;gap:1rem;padding:.85rem 0;border-bottom:1px solid #80641d35;font-weight:700;color:#12394e}.field-note li span{color:#946500;font-variant-numeric:tabular-nums}.field-note>p:last-child{font:.95rem/1.5 Georgia,serif;color:#516572}
.work-spotlight{background:#12394e;color:#fff;border-block:2px solid #bd944b}.spotlight-grid{display:grid;grid-template-columns:minmax(180px,.55fr) minmax(0,1fr);gap:4rem;align-items:center;max-width:1100px}
.work-spotlight h2{font:400 clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem)/1.08 Georgia,serif;margin:.8rem 0 1.4rem}.work-spotlight .section-label{color:#efcb77}.work-spotlight p{color:#e0eaf0}.spotlight-grid figure{margin:0;text-align:center}.spotlight-grid img{width:min(100%,260px);height:auto;box-shadow:12px 18px 30px #0005;transform:rotate(-3deg)}.spotlight-grid figcaption{font:.85rem/1.5 Georgia,serif;color:#d5e0e4;margin-top:1.5rem}.work-spotlight .section-primary-action{margin-top:1rem;background:#efcb77;color:#12394e;border-color:#efcb77}.work-spotlight .spotlight-detail{font-size:.9rem;margin-top:1rem}
.article-entrance-grid{grid-template-columns:minmax(0,1fr) 180px;gap:2.5rem}.article-entrance-cover{margin:0;text-align:center}.article-entrance-cover img{width:150px;max-width:100%;height:auto;box-shadow:6px 9px 16px #12394e26}.article-entrance-cover figcaption{font:.8rem/1.5 Georgia,serif;color:#516572;margin-top:1rem}.article-reading-time{display:inline-block;font-size:.85rem;letter-spacing:.025em;color:#516572;padding:.65rem 0;border-top:2px solid #bd944b;margin:0 0 1.5rem}
.pro-link-grid>a,.focus-grid>a,.fiction-card-pair img,.signature-art,.spotlight-grid img{transition:transform .2s ease,box-shadow .2s ease}
.pro-link-grid>a:hover,.pro-link-grid>a:focus-visible,.focus-grid>a:hover,.focus-grid>a:focus-visible{transform:translateY(-3px);box-shadow:0 6px 0 #bd944b26;border-color:#bd944b}
.fiction-card-pair:hover img,.fiction-card-pair:focus-visible img{transform:translateY(-4px) rotate(-2deg)}.spotlight-grid a:hover img,.spotlight-grid a:focus-visible img{transform:rotate(0deg) translateY(-4px)}
.section-intro,.book-section-head{border-top:1px solid #bd944b;padding-top:1.5rem}.page-lead .eyebrow{letter-spacing:.08em}
@media(max-width:800px){.signature-grid,.spotlight-grid,.article-entrance-grid{grid-template-columns:1fr;gap:2rem}.signature-art{max-width:600px}.field-note{transform:none}.article-entrance-cover{display:none}.spotlight-grid figure{max-width:240px;justify-self:center}.spotlight-grid{gap:2rem}}
@media(prefers-reduced-motion:reduce){.pro-link-grid>a,.focus-grid>a,.fiction-card-pair img,.signature-art,.spotlight-grid img,.published-cover img{transition:none!important;transform:none!important}}

@media(min-width:1100px){.published-shelf[data-professional-only="true"]{grid-template-columns:repeat(3,minmax(0,1fr));gap:2.5rem}.published-shelf[data-professional-only="true"] .published-work{grid-template-columns:1fr;align-content:start;gap:1.5rem}.published-shelf[data-professional-only="true"] .published-cover{width:180px;max-width:100%;margin-inline:auto}.published-shelf[data-professional-only="true"] .published-copy{display:flex;flex-direction:column;height:100%}.published-shelf[data-professional-only="true"] .published-copy .text-link{margin-top:auto;align-self:start}}

.library-search-panel{display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr) auto;gap:1rem;align-items:end;padding:1.5rem;background:#f2f5f6;border-top:3px solid #bd944b;margin-bottom:1.5rem}
.library-search-panel label{display:block;font-weight:700;margin-bottom:.5rem}.library-search-panel input,.library-search-panel select{width:100%;min-height:48px;padding:.75rem;font:inherit;border:1px solid #69828f;border-radius:4px;background:#fff;color:#12394e}.library-search-panel button{min-height:48px;padding:.75rem 1rem;font:700 1rem Arial,sans-serif;border:1px solid #12394e;border-bottom:3px solid #bd944b;border-radius:4px;background:#12394e;color:#fff;cursor:pointer}.library-search-panel button:disabled{opacity:.55;cursor:default}.library-search-panel>p{grid-column:1/-1;font-size:.9rem;margin:0;color:#516572}.library-empty{padding:2rem;border:1px solid #ccd8dd}.resource-preview{margin:0 0 2rem;padding:1.5rem;border:1px solid #ccd8dd;border-top:3px solid #bd944b;background:#f6f7f4}.resource-preview h2{font-size:1.5rem}.resource-preview details{margin:1.5rem 0}.resource-preview summary{cursor:pointer;min-height:48px;padding:.8rem;background:#e6ecec;color:#12394e;font-weight:700;border:1px solid #91a5ac}.resource-preview figure{margin:1rem 0}.resource-preview img{display:block;width:100%;height:auto;border:1px solid #ccd8dd}.resource-preview figcaption{font-size:.85rem;color:#516572;padding-top:.75rem;line-height:1.5}.resource-preview .button{margin-top:.5rem}.form-save-status{min-height:1.5em;margin:.75rem 0 0;font-weight:700}.player-account-panel form[aria-busy="true"] button[type="submit"]{opacity:.65;cursor:wait}
@media(max-width:650px){.library-search-panel{grid-template-columns:1fr}.library-search-panel>p{grid-column:auto}.library-search-panel button{justify-self:start}}

/* Keep the three professional book actions on a shared desktop baseline. */
@media(min-width:1100px){
 .published-shelf[data-professional-only="true"]{align-items:stretch}
 .published-shelf[data-professional-only="true"] .published-work{display:flex;flex-direction:column;align-items:stretch;gap:1.5rem}
 .published-shelf[data-professional-only="true"] .published-cover{display:flex;align-items:center;justify-content:center;flex:0 0 320px;height:320px;width:180px;padding:1rem 0;margin-inline:auto;box-sizing:border-box}
 .published-shelf[data-professional-only="true"] .published-copy{flex:1;display:flex;flex-direction:column;height:auto}
 .published-shelf[data-professional-only="true"] .published-copy .text-link{margin-top:auto;padding-top:1.5rem;align-self:flex-start}
}

.about-gaming-heading{margin:0 0 1.5rem;font-family:var(--font-serif,Georgia,serif);font-size:clamp(1.5rem,2.5vw,2rem);line-height:1.25}

.membership-renewal-terms{margin:1.5rem 0 0;padding-top:1rem;border-top:1px solid var(--line);font-size:.95rem;color:var(--muted);line-height:1.6}

/* Account sections share one collapsible page and an in-page menu. */
.account-disclosure{border:1px solid var(--line);margin:0 0 1.25rem;background:#fff;scroll-margin-top:210px}
.account-disclosure>summary{cursor:pointer;padding:1.15rem 1.25rem;font-size:1.15rem;font-weight:700;color:var(--deep);min-height:48px;list-style-position:inside;border-bottom:2px solid transparent}
.account-disclosure[open]>summary{border-bottom-color:var(--gold);background:#f3f7fa}
.account-disclosure>summary:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.account-disclosure-body{padding:1.25rem;min-width:0}
.account-disclosure-body>.player-account-panel{margin:0;border:0;padding:0}
.paid-membership-card{cursor:default;align-content:start;grid-template-rows:auto auto 1fr auto auto}
.paid-membership-card .account-prices{display:grid;gap:.3rem}
.paid-membership-card .account-prices p{margin:0}
.account-content .free-membership-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1000px){.account-content .free-membership-grid{grid-template-columns:1fr}.account-disclosure-body{padding:1rem}}

.paid-membership-card h3{font-size:1.5rem;line-height:1.25;margin:0;color:var(--ink)}
.paid-membership-card>.section-label{margin:0}
.account-sidebar a[href="#war-score"],.account-sidebar a[href="#characters"],.account-sidebar a[href="#tabletop"]{padding-left:1.7rem;font-size:.88rem}

/* Members area: quieter hierarchy and consistent, accessible controls. */
.account-page .account-layout{grid-template-columns:220px minmax(0,1fr);gap:clamp(1.25rem,3vw,2.5rem)}
.account-content>.account-disclosure{border-radius:6px;overflow:clip;margin-bottom:1rem;box-shadow:0 2px 8px #12394e06}
.account-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;list-style:none;padding:1.15rem 1.4rem;font-size:1.05rem;line-height:1.45}
.account-disclosure>summary::-webkit-details-marker{display:none}
.account-disclosure>summary::after{content:'';display:block;width:10px;height:10px;border-radius:50%;flex:none;background:#757575}
.account-disclosure[open]>summary::after{background:#238348}
.account-disclosure>summary:hover::after{background:#c93434}
.account-disclosure>summary:hover{background:#f3f7fa}
.account-disclosure-body{padding:clamp(1rem,2.5vw,1.75rem)}
.account-disclosure-body .account-disclosure{border-radius:4px;box-shadow:none}
.account-content .account-welcome{padding:0;margin:0 0 1.75rem;border:0}
.account-content .account-welcome h2{font-size:1.5rem;margin:0 0 .65rem;overflow-wrap:anywhere}
.account-content .account-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin:1.25rem 0}
.account-content .account-shortcuts a{padding:.8rem 1rem;border-radius:4px;font-size:.95rem;min-height:48px;display:flex;align-items:center;overflow-wrap:anywhere}
.profile-identity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem 1rem;margin:1.5rem 0}
.profile-display-name,.profile-field-help{grid-column:1/-1}
.account-content label:not(.player-check):not(.free-membership-card):not(.table-request-confirm){display:grid;gap:.5rem;font-weight:600;min-width:0}
.field-requirement{font-size:.85rem;font-weight:400;color:var(--muted)}
.profile-field-help{font-size:.92rem;line-height:1.55;color:var(--muted);margin:0 0 .75rem}
.account-content input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.account-content select,.account-content textarea{width:100%;min-width:0;min-height:48px;border-radius:4px;border:1px solid #829ba8;background:#fff;color:var(--ink);padding:.75rem;font:inherit;box-sizing:border-box}
.account-content input:focus-visible,.account-content select:focus-visible,.account-content textarea:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.account-content .profile-interests{margin:0;padding:0;border:0}
.account-content .profile-interests>fieldset{margin:1.25rem 0;padding:1rem;border:1px solid var(--line);border-radius:4px}
.account-content .profile-interests legend{font-size:1rem;padding:0 .35rem}
.account-content .player-check{padding:.6rem 0;margin:.25rem 0;min-height:44px}
.account-content .free-membership-card{padding:1.15rem;border-radius:6px;gap:.75rem;min-width:0}
.account-content .free-membership-card .section-label{font-size:.8rem}
.account-content .free-membership-card>strong,.account-content .paid-membership-card h3{font-size:1.3rem}
.account-content .paid-membership-card p{font-size:.95rem;line-height:1.55}
.account-content .paid-membership-card .rules-status{margin:0;padding-top:.5rem;font-size:.85rem}
.account-content #paid-memberships{padding-top:1.5rem;border-top:1px solid var(--line)}
.account-content .free-membership-actions{margin:1.25rem 0 2rem}
.account-content .membership-renewal-terms,.account-legal-links{font-size:.9rem;line-height:1.6;color:var(--muted);margin-top:1.5rem}
.account-sidebar a[aria-current=location]{background:#0067a7;border-left:3px solid var(--gold)}
.account-sidebar a,.account-sidebar button{min-height:48px;white-space:normal;height:auto;line-height:1.45}
@media(max-width:800px){.account-page .account-layout{grid-template-columns:1fr}.account-content .account-shortcuts,.profile-identity-grid{grid-template-columns:1fr}.account-disclosure>summary{padding:1rem 1.1rem}.account-content .account-disclosure{scroll-margin-top:210px}.account-side{padding:.5rem 0}.account-sidebar{max-height:55svh;overflow-y:auto}.account-content .free-membership-actions button{width:100%}}
/* Member dashboard: visible activities, collapsed account settings. */
.member-dashboard{display:grid;gap:1.25rem;margin-bottom:2rem;min-width:0;scroll-margin-top:150px}
.member-dashboard-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}
.member-dashboard-heading h2,.member-dashboard-heading h3{margin:.3rem 0}.member-dashboard-heading p{margin:.4rem 0}
.member-dashboard-panel{padding:clamp(1.2rem,3vw,2rem);border:1px solid #d8e1e7;border-radius:14px;background:#fff;box-shadow:0 5px 20px #17334608;min-width:0}
.member-course-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:1rem;margin-top:1rem}
.member-course-card{padding:1.2rem;background:#f0f5f7;border-radius:10px;display:flex;flex-direction:column;align-items:flex-start;gap:.6rem;border-top:3px solid #c99e52}
.member-course-card h4{font-size:1.2rem;line-height:1.35;margin:0}.member-course-card p{margin:0}.member-course-card a{margin-top:auto;padding-top:.5rem;font-weight:700}
.member-dashboard-note{font-size:.85rem;color:#556471;line-height:1.5}
.member-war-dashboard{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;background:#edf3f8}.member-war-dashboard h3{margin:.4rem 0 1rem}
.member-dashboard-stats{display:flex;flex-wrap:wrap;gap:1.5rem;margin:0}.member-dashboard-stats dt{font-size:.85rem;color:#556471}.member-dashboard-stats dd{font-size:1.6rem;font-weight:700;margin:0}
.member-watch-dashboard{background:#fbfaf6;border-color:#ded7c6}.member-watch-dashboard .character-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:1rem}.member-watch-dashboard .character-card{border-radius:10px;background:#fff;padding:1.25rem;border:1px solid #ded7c6;min-width:0}.member-watch-dashboard .character-card h3{overflow-wrap:anywhere}.member-watch-dashboard .character-card dl{display:flex;gap:1rem;flex-wrap:wrap}.member-watch-dashboard .character-card dd{margin:0;font-weight:700}.character-vitality progress{width:100%;height:.5rem;accent-color:#45745f}.character-journey{font-size:.85rem;color:#556471}
.member-dashboard a:focus-visible{outline:3px solid #c99e52;outline-offset:4px}.member-dashboard-panel [id]{scroll-margin-top:160px}
@media(max-width:600px){.member-dashboard-panel{padding:1rem}.member-war-dashboard .player-primary-link{width:100%;text-align:center}.member-dashboard-heading h2{font-size:1.65rem}.member-dashboard-stats{gap:1rem}}
.member-course-card .member-course-art{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:8px;margin:0 0 1rem}
/* Personal library and game room. */
.member-room{background:#eef1f4}.member-room>.wrap>h1{font-size:clamp(2rem,4vw,3rem);margin-bottom:1.5rem}.member-room>.wrap>.section-label{color:#506171}
.member-room .account-layout{grid-template-columns:190px minmax(0,1fr);gap:2rem}.member-room .account-side{background:#fff;border-radius:12px;padding:.65rem;border:1px solid #dce2e8}.member-room .account-disclosure{box-shadow:none}
.member-room .member-dashboard{gap:1.5rem}.member-room .member-dashboard>.member-dashboard-heading{background:#162b3c;color:#fff;border-radius:16px;padding:clamp(1.5rem,4vw,2.5rem);border-top:4px solid #d4aa60}.member-room .member-dashboard>.member-dashboard-heading h2{font-size:clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem);line-height:1.2;overflow-wrap:anywhere;color:#fff}.member-room .member-dashboard>.member-dashboard-heading .section-label{color:#e2bc78}.member-room .member-dashboard>.member-dashboard-heading p{color:#c8d5df;max-width:45ch}.member-room .member-dashboard>.member-dashboard-heading a{color:#fff;border-bottom:1px solid #d4aa60;white-space:nowrap}
.member-room .member-dashboard-panel{border:0;box-shadow:0 8px 30px #172f4010;border-radius:16px}.member-room .member-course-grid{gap:1.25rem}.member-room .member-course-card{position:relative;border:1px solid #dce2e8;border-top:0;background:#fff;padding:0 1.25rem 1.25rem;overflow:hidden;gap:.75rem;border-radius:12px;box-shadow:0 5px 15px #17334608}.member-room .member-course-art{width:calc(100% + 2.5rem);max-width:none;margin:0 -1.25rem .5rem;aspect-ratio:3/2;object-fit:cover}.member-room .member-course-card h4{font-size:1.4rem}.member-room .member-course-card a{display:block;background:#17384e;color:#fff;border-radius:6px;padding:.75rem 1rem;margin-top:auto;width:100%;text-align:center;text-decoration:none;min-height:44px}.member-course-monogram{background:#16384e;color:#fff;align-self:stretch;margin:0 -1.25rem .5rem;min-height:150px;display:flex;justify-content:center;align-items:center;gap:.75rem;font-size:3.5rem;font-family:Georgia,serif;border-bottom:4px solid #d4aa60}.member-course-monogram span{font-style:italic;color:#e1bd7d;font-size:2rem}
.member-room .member-war-dashboard{background:#182331;color:#fff;display:grid;grid-template-columns:110px 1fr auto;gap:1.5rem;padding:2rem;overflow:hidden;border-bottom:4px solid #b94740}.member-room .member-war-dashboard h3{color:#fff;font-size:clamp(1.25rem, 1.05rem + 1vw, 1.75rem)}.member-room .member-war-dashboard .section-label{color:#ebb2ad}.member-room .member-war-dashboard dt{color:#bdc9d7}.member-room .member-war-dashboard dd{color:#fff}.member-war-art{width:100%;height:auto;max-height:180px;object-fit:contain;transform:rotate(-7deg);filter:drop-shadow(0 10px 10px #0008)}.member-room .member-war-dashboard .player-primary-link{background:#fff;color:#172e42;white-space:nowrap;border-radius:6px}
.member-room .member-watch-dashboard{padding:0 1.5rem 1.5rem;overflow:hidden;background:#f9f7f0}.member-watch-scene{position:relative;margin:0 -1.5rem 1.5rem;min-height:230px;display:flex;align-items:flex-end;background:#1b2f2b}.member-watch-scene>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.member-watch-scene>div{position:relative;z-index:1;padding:2rem;width:100%;background:linear-gradient(transparent,#0b211ee8);color:#fff}.member-watch-scene h3{color:#fff;font-family:Georgia,serif;font-size:clamp(1.25rem, 1.05rem + 1vw, 1.75rem);margin:.4rem 0}.member-watch-scene p{margin:.5rem 0}.member-watch-scene .section-label{color:#f0cd8d}
.member-room .character-card{border-top:3px solid #b78c42!important;box-shadow:0 6px 18px #473c2010}.member-room .character-card h3{font-family:Georgia,serif;font-size:1.6rem}.member-room .character-card dt{font-size:.875rem;color:#536258}.member-room .character-card dd{font-size:1.3rem}.member-room .character-card button{width:100%;min-height:44px;background:#284638;color:#fff;border:0;border-radius:6px;padding:.75rem}.member-room .character-card button:disabled{opacity:.65}
@media(max-width:800px){.member-room .account-layout{grid-template-columns:1fr;gap:1rem}.member-room .account-side{padding:.3rem}.member-room .member-war-dashboard{grid-template-columns:80px 1fr;padding:1.25rem;gap:1rem}.member-room .member-war-dashboard>.player-primary-link{grid-column:1/-1}.member-room .member-war-dashboard h3{font-size:1.5rem}.member-room .member-dashboard-stats{gap:.85rem}.member-room .member-watch-dashboard{padding:0 1rem 1rem}.member-watch-scene{margin:0 -1rem 1rem}.member-watch-scene>div{padding:1.4rem}.member-room .member-dashboard>.member-dashboard-heading{padding:1.4rem}}
@media(prefers-reduced-motion:no-preference){.member-room .member-course-card{transition:box-shadow .2s ease}.member-room .member-course-card:focus-within,.member-room .member-course-card:hover{box-shadow:0 8px 24px #17334620}}
/* Light character sheets must not inherit the original dark-card white text. */
.member-watch-dashboard .character-card{color:#20372c;background:#fff}
.member-watch-dashboard .character-card h3,.member-watch-dashboard .character-card dd,.member-watch-dashboard .character-card p{color:#20372c}
.member-watch-dashboard .character-card .section-label{color:#76551f}
.member-watch-dashboard .character-card .character-journey,.member-watch-dashboard .character-card dt{color:#536258}
/* Equal-sized game entry actions on the member dashboard. */
.member-room .member-dashboard .member-play-button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:180px;min-width:180px;min-height:48px;padding:.75rem 1rem;border:1px solid #d5dde3;border-radius:6px;background:#fff;color:#172e42;font-size:1rem;font-weight:700;line-height:1.3;text-decoration:none;white-space:nowrap}
.member-watch-scene .member-play-button{margin-top:.75rem}
@media(max-width:800px){.member-room .member-war-dashboard>.member-play-button{justify-self:end;width:180px}.member-watch-scene .member-play-button{margin-left:auto;display:flex}}
@media(max-width:400px){.member-room .member-dashboard .member-play-button{width:100%;min-width:0}}
.member-room .member-table-dashboard{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;background:#e4ece8;border-left:4px solid #8e7042}.member-table-dashboard h3{font-family:Georgia,serif;font-size:clamp(1.25rem, 1.05rem + 1vw, 1.75rem);margin:.4rem 0}.member-table-dashboard p{max-width:48ch;margin:.5rem 0}.member-table-dashboard .member-play-button{flex-shrink:0}@media(max-width:800px){.member-room .member-table-dashboard{flex-wrap:wrap}.member-table-dashboard .member-play-button{margin-left:auto}}
.member-room .member-table-dashboard{flex-wrap:wrap}.member-room .member-table-dashboard>.account-disclosure{flex-basis:100%;width:100%;margin-top:.5rem;background:#fff}.member-room .member-table-dashboard>.account-disclosure .account-disclosure-body{min-width:0}.member-room .member-table-dashboard form{max-width:100%}
.learner-area{margin-top:1.5rem;border-top:1px solid #dce2e8;padding-top:1.2rem}.learner-area-heading{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;align-items:center}.learner-area-heading h4{font-size:1.3rem;margin:0}.learner-area-heading span{font-size:.9rem;color:#526473}.learner-total{display:flex;align-items:center;gap:1rem;margin-top:1rem}.learner-total progress{flex:1;width:100%;height:.65rem;accent-color:#274e63}.learner-course-list{list-style:none;margin:1rem 0;padding:0}.learner-course-list li{display:grid;grid-template-columns:minmax(0,1fr) 140px 90px;gap:1.2rem;padding:1rem 0;border-top:1px solid #e2e7ec;align-items:center}.learner-course-list li>div:first-child{display:grid;gap:.3rem}.learner-course-list span{font-size:.875rem;color:#556571}.learner-course-progress{display:flex;gap:.5rem;align-items:center}.learner-course-progress progress{width:85px;accent-color:#274e63}.learner-course-list a{background:#17384e;color:white;text-align:center;border-radius:5px;padding:.7rem;min-height:44px;text-decoration:none}.learner-badges{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin-top:1rem}.learner-badges h4{width:100%;font-size:1rem;margin:0 0 .3rem}.learning-badge{border:1px solid #b79a5c;background:#faf4e4;color:#674a19;border-radius:20px;padding:.5rem .8rem;font-size:.875rem}@media(max-width:600px){.learner-course-list li{grid-template-columns:1fr 90px;gap:.75rem}.learner-course-progress{grid-column:1;grid-row:2}.learner-course-list a{grid-column:2;grid-row:1/3}.learner-area-heading{align-items:flex-start}}
.unified-memberships{border:0;padding:0;margin:0;min-width:0}.unified-memberships legend{font-weight:700;font-size:1.3rem;margin-bottom:.5rem}.unified-membership-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;margin:1.25rem 0}.unified-membership-column{border:1px solid #cdd7de;border-top:3px solid #ba9454;border-radius:8px;padding:1.2rem;background:#fff;display:flex;flex-direction:column;min-width:0}.unified-membership-column h3{font-size:1.35rem;line-height:1.3;margin:0 0 .8rem;color:#17384e}.membership-option{display:flex!important;align-items:center;gap:.6rem;min-height:44px;font-weight:600}.membership-option input{width:18px!important;height:18px!important;min-height:0!important;flex-shrink:0;accent-color:#17384e}.membership-price-lines{display:grid;gap:.2rem;font-size:1rem}.membership-paid-option{margin:1.2rem 0}.membership-column-description{margin-top:auto;line-height:1.55}.unified-membership-save{text-align:center;margin-top:1rem}.unified-membership-save button{min-height:48px;padding:.75rem 1.75rem}.unified-memberships .membership-renewal-terms{font-size:.875rem;line-height:1.6}@media(max-width:1000px){.unified-membership-grid{grid-template-columns:1fr}.unified-membership-column{padding:1.1rem}}

/* Membership actions share the account's blue and gold treatment. */
.unified-membership-save button,.account-content #sign-out button{
 display:inline-flex;align-items:center;justify-content:center;min-width:180px;min-height:48px;padding:.75rem 1.5rem;border:1px solid #17384e;border-bottom:3px solid #ba9454;border-radius:6px;background:#17384e;color:#fff;font:700 1rem Arial,Helvetica,sans-serif;line-height:1.35;cursor:pointer;box-shadow:0 3px 8px rgb(23 56 78 / 12%);
}
.unified-membership-save button:hover,.account-content #sign-out button:hover{background:#0067a7;border-color:#0067a7;border-bottom-color:#ba9454}
.unified-membership-save button:focus-visible,.account-content #sign-out button:focus-visible{outline:3px solid #0067a7;outline-offset:4px}
.unified-membership-save button:disabled,.account-content #sign-out button:disabled{opacity:.6;cursor:wait}
.account-content #sign-out button{margin-top:.5rem}
@media(max-width:480px){.unified-membership-save button,.account-content #sign-out button{width:100%;min-width:0}}

/* Descriptive audience labels remain readable across header widths. */
.site-header .header-inner nav,.ggk-header> .mobile-navigation nav{gap:clamp(.8rem,1.3vw,1.25rem)}
.site-header .header-inner nav>a,.ggk-header nav>a{white-space:nowrap}
@media(min-width:801px) and (max-width:1100px){.header-inner,.ggk-header{flex-direction:column;align-items:flex-start;padding-block:.8rem;gap:.7rem}}

/* Guided entry points reuse the site's typography, rules, and link treatment. */
.audience-start{background:var(--pale)}
.audience-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem;list-style:none;margin:2rem 0 0;padding:0}
.audience-steps li{display:flex;flex-direction:column;align-items:flex-start;border-top:2px solid var(--line);padding-top:1.4rem;min-width:0}
.audience-steps h3{font:400 1.6rem/1.2 Georgia,serif;margin:.5rem 0 .8rem}
.audience-steps p{color:var(--muted)}
.audience-steps .text-link{margin-top:auto;color:var(--blue)}
.audience-steps .text-link:hover{color:var(--deep)}
.hero-secondary{font-size:1rem!important;margin-top:1.25rem;max-width:40rem}
.hero-secondary a{text-decoration:underline;text-underline-offset:.25rem;font-weight:700}
@media(max-width:750px){.audience-steps{grid-template-columns:1fr;gap:1.5rem}.audience-steps h3{font-size:1.45rem}}

.related-learning{background:var(--pale);border-top:1px solid var(--line)}
.related-learning-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2rem;align-items:center}
.related-learning h2{font-size:clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem);line-height:1.2;margin-bottom:.8rem}
.related-learning p{max-width:48rem}
.related-learning-note{font-size:.9rem;color:var(--muted);margin-bottom:0}
.related-learning .button{white-space:normal;text-align:center}
@media(max-width:750px){.related-learning-inner{grid-template-columns:1fr}.related-learning .button{justify-self:start}}
.free-account-benefits{padding-left:1.3rem;max-width:58rem}.free-account-benefits li{margin:.85rem 0}.free-account-intro .account-shortcuts{align-items:center;gap:1rem 1.5rem}.free-account-intro .member-dashboard-note{max-width:58rem}

/* Tabletop actions and owner controls use the account visual system. */
.member-room .member-table-dashboard>.member-play-button{background:#17384e;color:#fff;border:1px solid #17384e;border-bottom:3px solid #ba9454;box-shadow:0 3px 8px rgb(23 56 78 / 12%);white-space:normal}
.member-room .member-table-dashboard>.member-play-button:hover{background:#0067a7;border-color:#0067a7;border-bottom-color:#ba9454}
.member-room .member-table-dashboard>.member-play-button:focus-visible{outline:3px solid #0067a7;outline-offset:4px}
.member-table-dashboard .member-host-fit{margin:1.5rem 0;padding:0;overflow:hidden;background:#fff}
.member-table-dashboard .member-host-fit>summary{min-height:48px;padding:1rem 1.2rem}
.member-table-dashboard .member-host-fit .account-disclosure-body{padding:1.25rem}
.member-table-dashboard #tabletop .player-account-panel{margin-bottom:1.5rem}

/* A carved stone control for the owner's tabletop room. */
.member-host-table button[type="submit"]{min-height:48px;padding:.85rem 1.3rem;border:1px solid #666b69;border-bottom:4px solid #505653;border-radius:5px;color:#172a28;background:linear-gradient(125deg,#d8d9d2 0%,#b9bcb5 28%,#d2d3cb 50%,#aeb3ac 76%,#c8cbc2 100%);box-shadow:inset 1px 2px 0 #f1f1e9,inset -2px -2px 3px #6d756b55,0 3px 5px #16291f25;font-family:Georgia,serif;font-weight:700;letter-spacing:.02em;text-shadow:0 1px #f6f6ef;cursor:pointer}
.member-host-table button[type="submit"]:hover{filter:brightness(1.06)}
.member-host-table button[type="submit"]:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
.member-host-table button[type="submit"]:disabled{opacity:.65;cursor:wait}

.learner-area .learner-course-disclosure{margin:1rem 0 1.5rem;border:1px solid #ccd8dd;box-shadow:none}
.learner-course-disclosure .learner-course-list{margin:0}
/* A two-color focus indicator stays visible on light and dark site surfaces. */
body :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid #14364e;outline-offset:3px;box-shadow:0 0 0 3px #fff}
main#main:focus:not(:focus-visible){outline:none}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.watch-summary { color:var(--muted); font-size:.9rem; line-height:1.5; }
.watch-companion { margin-top:2.5rem; padding-top:1.7rem; border-top:2px solid var(--orange); }
.watch-companion p,.watch-companion li { line-height:1.75; }
.watch-companion h3 { margin:1.7rem 0 .7rem; font-size:1.25rem; }
.watch-companion ul { padding-left:1.4rem; }
.watch-companion li+li { margin-top:.5rem; }
.watch-example { margin:1.8rem 0; padding:1.1rem 1.3rem; border-left:4px solid var(--orange); background:var(--pale); }
.watch-example h3 { margin-top:0; }
.watch-example summary { cursor:pointer; font-weight:700; }
.watch-reading-note { color:var(--muted); font-size:.9rem; }

.member-character-disclosure{margin:0;background:#fffdf7}.member-character-disclosure>summary{gap:1rem}.member-character-disclosure>summary>span:first-child{flex:1;min-width:0}.member-character-disclosure .section-label{display:block;margin:0 0 .4rem}.member-character-title{display:block;color:#12394e;font-size:1.15rem;font-weight:700}.member-character-disclosure>summary>.member-dashboard-note{white-space:nowrap;font-size:.85rem;font-weight:400}@media(max-width:480px){.member-character-disclosure>summary{gap:.6rem}.member-character-title{font-size:1rem}.member-character-disclosure .section-label{font-size:.65rem}}

.member-room .member-watch-dashboard{padding-bottom:0}.member-watch-dashboard .member-watch-scene{margin-bottom:0}.watch-panel-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1.4rem}.watch-panel-actions .member-play-button{margin:0;flex:none}.watch-character-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;min-width:44px;margin:0 -10px 0 auto;padding:0;background:transparent;border:0;box-shadow:none;cursor:pointer;border-radius:50%}.watch-toggle-dot{width:10px;height:10px;border-radius:50%;background:#757575;flex:none}.watch-toggle-dot.is-open{background:#238348}.watch-character-toggle:hover .watch-toggle-dot{background:#c93434}.watch-character-toggle:focus-visible{outline:3px solid #f6c900;outline-offset:4px}.watch-character-slide{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .35s ease,visibility .35s}.watch-character-slide.is-open{grid-template-rows:1fr;visibility:visible}.watch-character-slide-inner{overflow:hidden;min-height:0}.watch-character-sheet{padding:1.5rem 0}.member-room .watch-character-sheet .character-card{background:linear-gradient(115deg,#f7e7b5,#edda9d);border:1px solid #ba924c;border-radius:2px;box-shadow:2px 4px 10px #473c2025;color:#382b21}.member-room .watch-character-sheet .character-card h3{color:#812b1e;border-bottom:2px solid #a34b2a;padding-bottom:.45rem;font-variant:small-caps}.member-room .watch-character-sheet .character-card dl{padding:.6rem 0;border-top:1px solid #a34b2a;border-bottom:1px solid #a34b2a}.member-room .watch-character-sheet .character-card p,.member-room .watch-character-sheet .character-card dd{color:#382b21}.member-room .watch-character-sheet .character-card dt{color:#812b1e}@media(prefers-reduced-motion:reduce){.watch-character-slide{transition:none}}@media(max-width:400px){.member-room .member-dashboard .watch-panel-actions .member-play-button{width:auto;min-width:0;white-space:normal}}

/* Account page action palette and disclosure states. */
.member-room .member-dashboard .member-watch-scene .member-play-button{background:#284638;color:#fff0c2;border-color:#c8a35c;border-bottom:3px solid #c8a35c;box-shadow:0 3px 10px #071c2630;white-space:normal;width:auto;min-width:180px;gap:.4rem}
.member-room .member-dashboard .member-watch-scene .member-play-button:hover{background:#365c48;color:#fff5d6}
.member-room .member-dashboard .member-watch-scene .member-play-button:focus-visible{outline:3px solid #f6c900;outline-offset:4px}
.member-room #tabletop>summary .section-label{margin:0;color:#a85400;font-size:.78rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.member-room .account-disclosure>summary::after,.member-room .watch-toggle-dot{background:#238348}
.member-room .account-disclosure[open]>summary::after,.member-room .watch-toggle-dot.is-open{background:#c93434}
.member-room .account-disclosure>summary:hover::after,.member-room .account-disclosure>summary:focus-visible::after,.member-room .watch-character-toggle:hover .watch-toggle-dot,.member-room .watch-character-toggle:focus-visible .watch-toggle-dot{background:#f6c900}

/* Tabletop entry and compact host disclosure. */
.member-room .member-table-dashboard{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:1.5rem 1rem;align-items:start}
.member-room .member-table-dashboard>div:first-child{grid-column:1/-1}
.member-room .member-table-dashboard>.member-play-button{grid-column:1;grid-row:2;justify-self:start;margin-left:0}
.member-room .member-table-dashboard>#tabletop{display:contents;border:0;background:transparent;box-shadow:none}
.member-room #tabletop>summary{grid-column:2;grid-row:2;align-self:center;display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;margin:0;background:transparent;border:0;border-radius:50%;box-shadow:none;list-style:none}
.member-room #tabletop>summary:hover{background:transparent}
.member-room #tabletop>summary:focus-visible{outline:3px solid #b78c42;outline-offset:3px}
.member-room #tabletop>.account-disclosure-body{grid-column:1/-1;padding:1.25rem 0 0;border-top:1px solid #b8c8be}
@media(max-width:400px){.member-room .member-table-dashboard>.member-play-button{width:auto;min-width:0;white-space:normal}}

/* Blend the expanded Tabletop forms into their enclosing panel. */
.member-room .member-table-dashboard #tabletop .player-account-panel{background:transparent}

/* WAR entry: crimson enamel and brass. */
.member-room .member-dashboard .member-war-dashboard>.member-play-button{background:linear-gradient(145deg,#963d37,#702722);color:#fff0c2;border:1px solid #d0a765;border-bottom:3px solid #d0a765;box-shadow:inset 0 1px 0 #ffffff20,0 4px 12px #0004;transition:background .18s ease,box-shadow .18s ease}
.member-room .member-dashboard .member-war-dashboard>.member-play-button:hover{background:linear-gradient(145deg,#ad4840,#853029);color:#fff6da;box-shadow:inset 0 1px 0 #ffffff25,0 5px 16px #0005}
.member-room .member-dashboard .member-war-dashboard>.member-play-button:focus-visible{outline:3px solid #f6c900;outline-offset:4px}

/* Game Room hosting layout */
.member-room .member-table-dashboard p{max-width:none}
.member-room #tabletop>.account-disclosure-body{padding-top:2.25rem}
.member-room .member-table-dashboard #tabletop .player-account-panel{margin-bottom:3rem}
.member-room .member-table-dashboard #tabletop h2{margin-top:.65rem;margin-bottom:1.25rem}
.member-room .member-host-table form{margin-top:1.5rem}
.member-room .member-host-table form>button{margin-top:1rem}
.member-room .hosted-tables{margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid #b8c8be}
.member-room .hosted-tables ul{list-style:none;padding:0;margin:1rem 0}
.member-room .hosted-tables li{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 0;border-bottom:1px solid #b8c8be}
.member-room .hosted-tables li a{overflow-wrap:anywhere}
.member-room .hosted-tables .delete-table{flex-shrink:0;padding:.45rem .85rem;min-height:44px;color:#8a302b;background:transparent;border:1px solid #8a302b;border-radius:5px;cursor:pointer}
.member-room .hosted-tables .delete-table:hover{color:#fff;background:#8a302b}
.member-room .hosted-tables .delete-table:focus-visible{outline:3px solid #f6c900;outline-offset:3px}
.member-room .hosted-tables .delete-table:disabled{opacity:.6;cursor:wait}

.member-room .member-dashboard>.member-dashboard-heading .member-profile-button{flex-shrink:0;background:linear-gradient(145deg,#284b65,#1b364b);color:#fff0c2;border:1px solid #c8a35c;border-bottom:3px solid #c8a35c;box-shadow:inset 0 1px 0 #ffffff20,0 4px 12px #0003;transition:background .18s ease,box-shadow .18s ease}
.member-room .member-dashboard>.member-dashboard-heading .member-profile-button:hover{background:linear-gradient(145deg,#365f7d,#284b65);color:#fff6da;box-shadow:inset 0 1px 0 #ffffff25,0 5px 16px #0004}
.member-room .member-dashboard>.member-dashboard-heading .member-profile-button:focus-visible{outline:3px solid #f6c900;outline-offset:4px}
/* Align Old Watch's launch button with the dashboard actions. */
.member-room .member-watch-scene>div{display:grid;grid-template-columns:minmax(0,1fr) 180px;column-gap:2rem;padding:2rem}
.member-room .member-watch-scene>div>p,.member-room .member-watch-scene>div>h3{grid-column:1}
.member-room .member-watch-scene .watch-panel-actions{grid-column:2;grid-row:1/4;align-self:center;margin:0;display:block}
.member-room .member-dashboard .member-watch-scene .member-play-button{width:180px;margin:0}
.member-room .member-watch-scene .watch-character-toggle{position:absolute;right:1.25rem;bottom:.2rem;margin:0}
@media(max-width:800px){.member-room .member-watch-scene>div{grid-template-columns:1fr;padding:1.25rem 1.25rem 3rem;column-gap:0}.member-room .member-watch-scene .watch-panel-actions{grid-column:1;grid-row:auto;justify-self:end;margin-top:1rem}.member-room .member-watch-scene .watch-character-toggle{right:.5rem}}
.member-room #my-profile.account-disclosure,.member-room #memberships.account-disclosure,.member-room #billing.account-disclosure{border-radius:16px;overflow:hidden}

.member-room .first-learning-badge{display:inline-flex;align-items:center;gap:.8rem;border-radius:12px;padding:.85rem 1rem;border-width:2px;max-width:100%}
.member-room .first-learning-badge svg{flex-shrink:0}
.member-room .first-learning-badge>span{display:grid;gap:.25rem}
.member-room .first-learning-badge strong{font-size:1rem;line-height:1.3}
.member-room .first-learning-badge small{font-size:.8rem;line-height:1.4}
.member-room .first-insight-badge{background:#e5f2ef;border-color:#397969;color:#205c50}
.member-room .first-quest-badge{background:#f1eafb;border-color:#82609c;color:#64417c}

.member-room .learner-area>.learner-badges{margin-top:0;margin-bottom:1.5rem}

.member-room .learning-badge-shelf{position:relative;margin-top:1.5rem;padding-top:1.2rem;padding-right:44px;border-top:1px solid #dce2e8;gap:1rem 1.25rem}
.member-room .learner-badge-group{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;max-width:100%}
.member-room .learning-progress-toggle{position:absolute;right:-10px;bottom:0;margin:0}
.member-room #learning-progress .learner-area{margin-top:1.5rem;padding-top:1.2rem}

/* Consistent dashboard action alignment. */
.member-room .member-dashboard>.member-dashboard-heading,.member-room .member-dashboard>.learner-dashboard{padding:2rem}
.member-room .member-table-dashboard{position:relative;grid-template-columns:minmax(0,1fr) 180px;padding:2rem 2rem 3.25rem;align-items:center}
.member-room .member-table-dashboard>div:first-child{grid-column:1;grid-row:1}
.member-room .member-table-dashboard>.member-play-button{grid-column:2;grid-row:1;justify-self:end;margin:0}
.member-room .member-table-dashboard>#tabletop>summary{position:absolute;right:1.25rem;bottom:.2rem}
.member-room .learner-dashboard>.member-dashboard-heading{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:2rem}
.member-room .member-dashboard .member-academy-button{background:linear-gradient(145deg,#284b65,#1b364b);color:#fff0c2;border:1px solid #c8a35c;border-bottom:3px solid #c8a35c;box-shadow:inset 0 1px 0 #ffffff20,0 4px 12px #0003;text-decoration:none;justify-self:end}
.member-room .member-dashboard .member-academy-button:hover{background:linear-gradient(145deg,#365f7d,#284b65);color:#fff6da}
.member-room .member-dashboard .member-academy-button:focus-visible{outline:3px solid #f6c900;outline-offset:4px}
@media(max-width:800px){.member-room .member-dashboard>.member-dashboard-heading,.member-room .member-dashboard>.learner-dashboard{padding:1.25rem}.member-room .member-dashboard>.member-dashboard-heading{display:grid;grid-template-columns:1fr}.member-room .member-profile-button{justify-self:end}.member-room .member-table-dashboard{grid-template-columns:1fr;padding:1.25rem 1.25rem 3rem}.member-room .member-table-dashboard>.member-play-button{grid-column:1;grid-row:2}.member-room .member-table-dashboard>#tabletop>summary{right:.5rem}.member-room .learner-dashboard>.member-dashboard-heading{grid-template-columns:1fr;gap:1rem}}

/* Table map and learning-paper backgrounds. */
.member-room .member-table-dashboard{background-color:#e4ece8;background-image:radial-gradient(ellipse at 85% 15%,#c4d8cd88,transparent 60%),linear-gradient(#7b9d8a14 1px,transparent 1px),linear-gradient(90deg,#7b9d8a14 1px,transparent 1px);background-size:auto,36px 36px,36px 36px}
.member-room .member-dashboard>.learner-dashboard{background-color:#f6f0e2;background-image:radial-gradient(ellipse at 90% 0%,#e2cb9580,transparent 65%),repeating-linear-gradient(0deg,transparent,transparent 27px,#a58b5420 28px,transparent 29px);border-top:4px solid #c8a35c}
.member-room .learner-dashboard .learner-course-disclosure{background:#fffaf0}
.member-room .first-learning-badge{position:relative;width:48px;height:48px;padding:6px;justify-content:center;border-radius:50%;cursor:help}
.member-room .first-learning-badge svg{width:32px;height:32px}
.member-room .first-learning-badge>.badge-tooltip{position:absolute;z-index:5;left:0;bottom:calc(100% + 10px);width:230px;max-width:calc(100vw - 5rem);padding:.75rem .9rem;background:#162b3c;color:#fff;border:1px solid #c8a35c;border-radius:8px;box-shadow:0 5px 18px #0003;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s ease}
.member-room .first-learning-badge:hover>.badge-tooltip,.member-room .first-learning-badge:focus>.badge-tooltip{opacity:1;visibility:visible}
.member-room .first-learning-badge:focus-visible{outline:3px solid #c8a35c;outline-offset:4px}
.member-room .first-learning-badge .badge-tooltip small{color:#e4eaf0}
.member-room .learning-badge-shelf{gap:.75rem}
@media(prefers-reduced-motion:reduce){.member-room .first-learning-badge>.badge-tooltip{transition:none}}
/* Illustrated dashboard backgrounds matching Old Watch. */
.member-room .member-table-dashboard{background:linear-gradient(90deg,#102b2be8,#102b2b80),url('/academy/gamers/ga-004-cover.webp') center/cover;color:#fff;border-left:0;border-bottom:4px solid #8e7042}
.member-room .member-dashboard>.learner-dashboard{background:linear-gradient(90deg,#162b3ce8,#162b3cb0),url('/academy/gamers/ga-003-cover.webp') center/cover;color:#fff;border-top:0;border-bottom:4px solid #c8a35c}
.member-room .member-table-dashboard h2,.member-room .member-table-dashboard h3,.member-room .learner-dashboard h3,.member-room .learner-dashboard h4,.member-room .learner-dashboard h5{color:#fff}
.member-room .member-table-dashboard p,.member-room .learner-dashboard .member-dashboard-note,.member-room .learner-dashboard .learner-area-heading>span{color:#e0e9ed}
.member-room .member-table-dashboard .section-label,.member-room .learner-dashboard .section-label{color:#f0cd8d}
.member-room .member-table-dashboard #tabletop .player-account-panel{color:#fff}
.member-room .member-table-dashboard #tabletop .text-link,.member-room .hosted-tables li>a,.member-room .learner-dashboard .member-dashboard-note>a{color:#fff0c2}
.member-room .member-table-dashboard .hosted-tables .delete-table{color:#ffe6df;border-color:#e7aaa0;background:#642c2b}
.member-room .learner-dashboard .learning-badge-shelf,.member-room #learning-progress .learner-area{border-color:#f0cd8d55}
.member-room .learner-dashboard .learner-total progress{accent-color:#d4aa60}
.member-room .learner-dashboard .learner-course-disclosure{background:#fffaf0;color:#17384e;border-radius:12px}
.member-room .learner-dashboard .learner-course-disclosure .member-dashboard-note,.member-room .learner-dashboard .learner-course-disclosure .member-dashboard-note>a{color:#17384e}
.member-room .member-dashboard>.learner-dashboard{background-image:linear-gradient(90deg,#162b3cbb,#162b3cbf),url('/academy/safety-systems/frontline-supervisor-thumb.webp?v=construction-20261018'),url('/academy/gamers/ga-003-cover.webp');background-size:100% 100%,50% auto,50% auto;background-position:center,left center,right center;background-repeat:no-repeat;background-color:#162b3c}

.member-room .member-dashboard>.learner-dashboard{background:#162b3c}

.jri-start-here{padding:1.75rem;margin-bottom:2.5rem;border-radius:16px;background:#eef3f5;border-top:4px solid #c8a35c;scroll-margin-top:6rem}
.jri-start-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:1rem;margin:1.5rem 0}
.jri-start-grid article{display:flex;flex-direction:column;align-items:flex-start;background:#fff;padding:1.25rem;border:1px solid #d5dde3;border-radius:12px}
.jri-start-grid article h3{margin-top:0}
.jri-start-grid .button{margin-top:auto;white-space:normal}

.home-start-here{background:#f3f0e7;scroll-margin-top:6rem}
.home-start-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;margin-top:1.75rem}
.home-start-grid>a{display:flex;flex-direction:column;padding:1.75rem;border-radius:16px;background:#162b3c;color:#e0e9ed;text-decoration:none;border-top:4px solid #c8a35c}
.home-start-grid>a>span{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#f0cd8d}
.home-start-grid h3{color:#fff;margin:.65rem 0;font-size:1.5rem}
.home-start-grid strong{color:#fff0c2;margin-top:auto;padding-top:.75rem}
.home-start-grid>a:hover{background:#244457}
.home-start-grid>a:focus-visible{outline:3px solid #b48735;outline-offset:4px}
@media(max-width:650px){.home-start-grid{grid-template-columns:1fr}}

/* Compact discovery pages; retain the established blue and gold palette. */
.page-lead.library-lead{padding:clamp(1.75rem,4vw,3rem) 0}
.page-lead.library-lead h1{font-size:clamp(2rem, 1.4rem + 2vw, 3rem);line-height:1.12}
.library-section{padding-top:1.75rem}
.library-section .book-section-head{padding-top:0;border-top:0;margin-bottom:1.5rem}
.library-section .book-section-head h2{font-size:clamp(1.5rem,3vw,2.2rem)}
.library-search-panel{grid-template-columns:minmax(0,2fr) minmax(140px,1fr) minmax(140px,1fr) auto}
.library-search-panel>div:first-child{min-width:0}
.resource-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
.resource-catalog-card{min-width:0;padding:1.5rem;background:#f2f5f6;border:1px solid #ccd8dd;border-top:3px solid #bd944b;border-radius:8px}
.resource-catalog-card h3{font-size:1.4rem;line-height:1.25;margin:.5rem 0 .75rem}
.resource-catalog-card .button{white-space:normal;overflow-wrap:anywhere;max-width:100%;min-height:48px;display:inline-flex;align-items:center;font-size:.95rem}
.resource-edition,.resource-related{font-size:.9rem;line-height:1.55}
.resource-catalog-card details{margin:1rem 0}
.resource-catalog-card summary{cursor:pointer;padding:.75rem 0;font-weight:700;min-height:44px}
.resource-catalog-card img{width:100%;height:auto;border:1px solid #ccd8dd}
.resource-library-note{margin-top:2rem;padding:1.5rem;border-left:4px solid #bd944b;background:#f2f5f6}
.library-search-panel :is(input,select,button):focus-visible,.resource-catalog-card :is(a,summary):focus-visible,.library-empty button:focus-visible{outline:3px solid #a55200;outline-offset:3px}
@media(max-width:900px){.library-search-panel{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.library-search-panel,.resource-catalog{grid-template-columns:1fr}.library-search-panel>p{grid-column:auto}.resource-catalog-card{padding:1.25rem}.page-lead.library-lead p:last-child{font-size:1.05rem}}

/* Shorter article entrances keep the direct answer and byline visible. */
.page-lead.campaign-lead{padding:clamp(1.75rem,4vw,3rem) 0}
.page-lead.campaign-lead h1{font-size:clamp(2rem, 1.4rem + 2vw, 3rem);line-height:1.14}
.campaign-lead .article-direct-answer{margin:1rem 0;font-size:1.05rem}
.article-body-section{padding-top:2rem;scroll-margin-top:6rem}
.article-quick-links{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;margin-top:1rem}
.article-quick-links a{display:inline-flex;align-items:center;min-height:44px;font-weight:700;text-underline-offset:.25em}
.article-quick-links a:focus-visible{outline:3px solid #efcb77;outline-offset:3px}
.library-search-panel:not(:has(select[id$="-kind"])){grid-template-columns:minmax(0,2fr) minmax(160px,1fr) auto}
@media(max-width:650px){.library-search-panel:not(:has(select[id$="-kind"])){grid-template-columns:1fr}.campaign-lead .article-direct-answer{font-size:1rem}.article-body-section{padding-top:1.5rem}}

.toolbox-page{max-width:960px}
.page-lead .toolbox-byline{font-size:.95rem;margin-top:1.25rem;color:#d0e0e8}
.toolbox-downloads{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.5rem 0}
.toolbox-downloads>div{min-width:0;border:1px solid #ccd8dd;border-top:3px solid #bd944b;border-radius:8px;background:#f2f5f6;padding:1.25rem}
.toolbox-downloads h3{font-size:1.2rem;line-height:1.3}
.toolbox-downloads .button{display:flex;min-height:48px;white-space:normal;font-size:.95rem}
.toolbox-downloads .text-link{font-size:.9rem;margin-top:1rem}
.toolbox-preview{margin:1.5rem 0 2rem;padding:1rem;border:1px solid #ccd8dd;border-radius:8px}
.toolbox-preview summary{cursor:pointer;font-weight:700;min-height:44px;padding:.5rem 0}
.toolbox-preview img{display:block;width:100%;max-width:695px;height:auto;margin:1rem auto}
.toolbox-content{font-size:1.05rem;line-height:1.7}
.toolbox-content h2{font-size:clamp(1.5rem,3vw,2rem);line-height:1.2;margin-top:2rem}
.toolbox-content h3{font-size:1.25rem}.toolbox-content li{margin:.4rem 0}
.toolbox-content :is(.note,.callout){padding:1.25rem;background:#eef6fa;border-left:4px solid #bd944b}
.toolbox-content :is(.meta,.small){font-size:.9rem;color:#4d6573}
.toolbox-content .table-wrap{overflow-x:auto;margin:1.5rem 0}
.toolbox-content table{width:100%;min-width:580px;border-collapse:collapse;font-size:.95rem}
.toolbox-content th,.toolbox-content td{border:1px solid #b7cbd5;padding:.8rem;text-align:left;vertical-align:top}
.toolbox-content th{background:#eef6fa}
.toolbox-content a{text-underline-offset:.2em}
@media(max-width:720px){.toolbox-downloads{grid-template-columns:1fr}.toolbox-content{font-size:1rem}.toolbox-content :is(ul,ol){padding-left:1.5rem}}

/* Shared presentation rules: matching cards stretch; content never clips. */
:root{--ui-card-radius:16px;--ui-card-padding:1.5rem;--ui-card-gap:1.25rem;--ui-card-min-height:300px;--ui-action-height:48px;--ui-action-width:180px}
:is(.home-start-grid,.pro-link-grid,.resource-catalog,.jri-start-grid,.course-grid,.focus-grid,.topic-grid){gap:var(--ui-card-gap);align-items:stretch}
:is(.home-start-grid>a,.pro-link-grid>a,.pro-link-grid>.future-card,.resource-catalog-card,.jri-start-grid>article,.course-card,.focus-grid>a,.topic-grid>a){min-width:0;min-height:var(--ui-card-min-height);height:100%;padding:var(--ui-card-padding);border-radius:var(--ui-card-radius);display:flex;flex-direction:column;overflow-wrap:anywhere}
:is(.home-start-grid,.pro-link-grid,.resource-catalog,.jri-start-grid,.course-grid,.focus-grid,.topic-grid) :is(h3,h4){line-height:1.25}
:is(.home-start-grid,.pro-link-grid) h3{margin:1rem 0 .75rem}
:is(.home-start-grid>a,.pro-link-grid>a)>:is(strong,b){margin-top:auto;padding-top:1rem}
:is(.button,.player-primary-link,.section-primary-action,.purchase-link){min-height:var(--ui-action-height);min-width:min(var(--ui-action-width),100%);max-width:100%;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1rem;line-height:1.4;text-align:center;white-space:normal;overflow-wrap:anywhere;border-radius:8px}
:is(.button,.player-primary-link,.section-primary-action,.purchase-link):focus-visible{outline:3px solid var(--gold);outline-offset:4px;box-shadow:0 0 0 2px var(--ink)}
.resource-catalog-card .button{width:100%;margin-top:auto}
.resource-catalog-card .resource-related{margin:1rem 0 0;min-height:3em}
.toolbox-downloads>div{display:flex;flex-direction:column;border-radius:var(--ui-card-radius);padding:var(--ui-card-padding)}
.toolbox-downloads .button{width:100%;margin-top:auto}
.toolbox-downloads .text-link{align-self:flex-start}
.toolbox-crew-download{grid-template-columns:minmax(0,1fr);max-width:650px}
.toolbox-support-downloads{grid-template-columns:repeat(2,minmax(0,1fr))}
.toolbox-supporting{margin:2rem 0;scroll-margin-top:130px;padding-top:1.5rem;border-top:1px solid #ccd8dd}
.toolbox-member-invitation{padding:1.25rem;background:#eef3ee;border:1px solid #c9d4c8;border-radius:8px}
.toolbox-member-invitation p{margin-top:0;max-width:70ch}
.toolbox-member-invitation .button,.toolbox-signup-card .button{max-width:100%;white-space:normal;line-height:1.4;text-align:center}
.toolbox-member-invitation .helper{font-size:.875rem;margin:1rem 0 0}
.toolbox-signup-wrap{max-width:850px}
.toolbox-signup-card{padding:clamp(1.25rem,3vw,2rem);border:1px solid #ccd8dd;border-radius:12px;background:#f2f5f6}
.toolbox-signup-card h2{font-size:clamp(1.3rem,2.4vw,1.8rem);line-height:1.3;margin-top:0}
.toolbox-signup-back{margin:1.5rem 0 0}
@media(max-width:720px){.toolbox-support-downloads{grid-template-columns:1fr}}

/* The same account card follows each experience's colors. */
.shared-account-card{margin:1.5rem 0 2rem;padding:1.6rem;border:1px solid #cbd7df;border-left:5px solid #214b69;border-radius:14px;background:#f4f7f9;color:#173d50;min-width:0;overflow-wrap:anywhere}
.shared-account-card h2{font-size:clamp(1.45rem,2.5vw,2rem);line-height:1.2;margin:0 0 1.25rem;color:inherit}
.shared-account-card dl{display:flex;flex-wrap:wrap;gap:1rem 2.5rem;margin:0 0 1.25rem}
.shared-account-card dt{font-size:.8rem;color:inherit;opacity:.85}
.shared-account-card dd{margin:.3rem 0 0;color:inherit}
.shared-account-card p{font-size:.95rem;line-height:1.6;color:inherit}
.shared-account-card p:last-child{margin-bottom:0}
.fiction-experience .shared-account-card{background:#183643;color:#f6f0e2;border-color:#8e805f;border-left-color:#d9b56e}
.fiction-experience .shared-account-card :is(h2,p,dt,dd){color:#f6f0e2}
.fiction-experience .shared-account-card a{color:#ead29b}
.ceremonies-experience .shared-account-card{background:#f5f0e8;color:#302b28;border-color:#b7ab99;border-left-color:#7f6b4e}
@media(max-width:760px){.shared-account-card{padding:1rem}.shared-account-card dl{display:grid;gap:1rem}}
:is(.jri-actions,.article-buy-actions,.article-quick-links){gap:1rem;align-items:stretch}
:is(.library-search-panel,.jri-form) :is(input,select,button){min-height:var(--ui-action-height)}
:is(.resource-catalog-card,.toolbox-preview) summary{min-height:var(--ui-action-height)}
@media(max-width:650px){:root{--ui-card-padding:1.25rem}:is(.home-start-grid>a,.pro-link-grid>a,.pro-link-grid>.future-card,.resource-catalog-card,.jri-start-grid>article,.course-card,.focus-grid>a,.topic-grid>a){min-height:0}:is(.article-buy-actions,.jri-actions)>.button{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.pro-link-grid>a:hover{transform:none}}
.published-work{min-width:0;border-radius:var(--ui-card-radius);padding:var(--ui-card-padding)}.published-copy{display:flex;flex-direction:column;min-width:0;height:100%}.published-copy>.text-link{margin-top:auto;align-self:flex-start;min-height:var(--ui-action-height)}
/* Homepage editorial review: full-width book introduction, natural wrapping. */
.published-showcase .book-section-head{max-width:none}
.work-spotlight .spotlight-grid>div{text-align:left}
.work-spotlight .spotlight-grid>div>p{margin-left:0;max-width:none}

/* Return to the page navigation after leaving its initial position. */
.back-to-top{position:fixed;right:max(1rem,env(safe-area-inset-right));bottom:max(1rem,env(safe-area-inset-bottom));z-index:90;display:flex;align-items:center;gap:.5rem;min-height:44px;padding:.65rem 1rem;border:2px solid var(--gold,#f6c900);border-radius:6px;background:var(--blue,#0067a7);color:#fff;font:700 .875rem/1.25 Arial,sans-serif;box-shadow:0 3px 12px #0003;cursor:pointer}
.back-to-top:hover{background:#064b73}.back-to-top:focus-visible{outline:3px solid #f6c900;outline-offset:4px}.back-to-top span{font-size:1.3rem}
body:has(.analytics-choice) .back-to-top,body:has([role="dialog"][data-state="open"]) .back-to-top{display:none}
@media print{.back-to-top{display:none}}

/* Approved audit corrections within the existing Library and account design. */
.library-collections article>.text-link{margin-top:auto}
.learner-next-step{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-top:1rem}
.learner-next-step .member-dashboard-note{flex:1 1 240px;margin:0}
.learner-next-step .player-primary-link{min-height:44px;white-space:normal}

.video-consent .video-poster{display:block;width:100%;height:auto;margin-bottom:1rem}

/* Fiction experience: Gaming Group Knight's navy, gold and parchment palette. */
.fiction-experience { background:#111f27; color:#f6f0e2; }
.fiction-experience .site-header,.fiction-experience .site-footer { background:#111f27; color:#f6f0e2; border-color:#d9b56e; }
.fiction-experience .site-header a,.fiction-experience .site-footer a { color:#f6f0e2; }
.fiction-experience .brand-mark { background:#183643; color:#d9b56e; }
.fiction-experience main { background:#111f27; color:#f6f0e2; }
.fiction-experience :is(.page-lead,.fiction-band,.section) { background:#111f27; color:#f6f0e2; }
.fiction-experience :is(.eyebrow,.section-label,.text-link,.hero-secondary a) { color:#d9b56e; }
.fiction-experience :is(.hero-lead,.rules-status,.beta-order-note) { color:#c9ccca; }
.fiction-experience :is(.fiction-account-link,.section-primary-action) { background:#d9b56e; color:#111f27; border-color:#d9b56e; }
.fiction-experience .pro-link-grid>a { background:#183643; color:#f6f0e2; border-color:#d9b56e; }
.fiction-experience .pro-link-grid>a span { color:#d9b56e; }
.fiction-experience a:focus-visible { outline:3px solid #d9b56e; outline-offset:4px; }
.tabletop-logo { display:flex; flex-direction:column; align-items:center; justify-content:center; padding:2rem; }
.tabletop-logo .ggk-crest img { width:60%; height:auto; object-fit:contain; }
.fiction-experience { --deep:#183643; --gold:#d9b56e; --gold-dark:#d9b56e; --muted:#c9ccca; --ggk-gold:#d9b56e; --line:#655f4d; }
.fiction-experience .fiction-feature p:not(.section-label),.fiction-experience .pro-link-grid p { color:#c9ccca; }
.fiction-experience .rules-grid article { background:#183643; color:#f6f0e2; }
.fiction-experience .page-lead { border-top-color:#d9b56e; }
.fiction-experience .ggk-crest { color:#d9b56e; }
.fiction-experience .games-directory h2 { font-size:1.8rem; margin:1rem 0; }
.fiction-experience :is(.free-membership-card,.player-account-panel,.member-dashboard-panel,.fiction-article-index li,.home-start-grid>a) { background:#183643; color:#f6f0e2; border-color:#655f4d; }
.fiction-experience :is(.button,.player-primary-link) { background:#d9b56e; color:#111f27; border-color:#d9b56e; }
.rankings-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2rem; }
.rankings-grid>div { min-width:0; overflow-x:auto; }
.rankings-grid table { width:100%; border-collapse:collapse; background:#183643; color:#f6f0e2; }
.rankings-grid th,.rankings-grid td { text-align:left; padding:.75rem; border-bottom:1px solid #655f4d; overflow-wrap:anywhere; }
.rankings-grid th { color:#d9b56e; }
.games-directory img { max-width:100%; height:auto; object-fit:contain; align-self:flex-start; }
@media(max-width:750px){.rankings-grid{grid-template-columns:1fr;}}

.fiction-hero-logo { display:grid; place-items:center; padding:2rem; }
.fiction-hero-logo .ggk-crest img { width:38%; height:48%; object-fit:contain; }
/* Fiction UI review: readable surfaces and more compact editorial spacing. */
.fiction-experience { --pale:#183643; --blue:#ead29b; --orange:#d9b56e; }
.fiction-experience .page-lead { padding-block:clamp(2rem,4vw,3.5rem); }
.fiction-experience .section { padding-block:clamp(2rem,4vw,3.5rem); }
.fiction-experience .signature-grid { gap:2rem; }
.fiction-experience .fiction-hero-logo { padding:1rem; background:#183643; }
.fiction-experience .fiction-hero-logo .ggk-crest { width:min(100%,280px); }
.fiction-experience .fiction-lead h1 { font-size:clamp(2.5rem,5vw,4.1rem); margin-bottom:1rem; }
.fiction-experience .hero-secondary { margin-top:1rem; }
.fiction-experience .fiction-feature { gap:clamp(1.5rem,3vw,3rem); }
.fiction-experience .fiction-feature h2 { margin:.6rem 0 1rem; }
.fiction-experience .fiction-card-pair { width:min(100%,330px); }
.fiction-experience .fiction-watch-art { max-width:420px; justify-self:center; }
.fiction-experience .pro-link-grid>a { min-height:0; padding:1.25rem; }
.fiction-experience :is(.library-search-panel,.blog-row,.resource-catalog-card,.topic-grid>a,.focus-grid>a,.library-rows>a,.library-rows>div,.article-book-cta) { background:#183643; color:#f6f0e2; border-color:#8e805f; }
.fiction-experience .library-search-panel { padding:1rem; gap:.75rem; }
.fiction-experience .library-search-panel :is(label,p) { color:#f6f0e2; }
.fiction-experience .library-search-panel :is(input,select) { background:#f6f0e2; color:#111f27; border-color:#d9b56e; }
.fiction-experience .library-search-panel button { background:#d9b56e; color:#111f27; }
.fiction-experience .library-search-panel button:disabled { opacity:1; background:#c9ccca; color:#273c40; }
.fiction-experience :is(.post-kicker,.article-meta,.article-head .dek,.resource-related a) { color:#ead29b; }
.fiction-experience :is(.blog-row p,.article-need-intro,.resource-edition,.article-book-cta p) { color:#c9ccca; }
.fiction-experience .article-need-group { margin-block:2rem; padding-block:1rem; }
.fiction-experience .blog-row { padding:1.2rem; min-height:0; gap:1rem; }
.fiction-experience .article-head { padding:2rem 0 1.5rem; }
.fiction-experience .article-body { padding:1.5rem 0 2.5rem; }
.fiction-experience .article-body aside { background:#183643; color:#f6f0e2; }
.fiction-experience .article-body h2 { margin-top:2rem; }
.fiction-experience .purpose-cta-section { padding-block:2rem; }
.fiction-experience .section-primary-action:hover,.fiction-experience .button:hover { background:#ead29b; color:#111f27; }
.fiction-experience .section-secondary-action { background:#f6f0e2; color:#183643; }
.fiction-experience :is(.topic-grid h3,.focus-grid h3,.library-rows h3) { margin-top:1rem; }
@media(max-width:650px){.fiction-experience .fiction-hero-logo .ggk-crest{width:210px}.fiction-experience .fiction-card-pair{width:260px}.fiction-experience .section{padding-block:2rem}}
.fiction-experience :is(.blog-row h3,.article-book-cta h2,.article-book-cta h3,.free-membership-card h3,.member-dashboard-panel h3) { color:#f6f0e2; }
.fiction-experience .article-needs-nav a { background:#183643; color:#f6f0e2; border-color:#8e805f; }
.fiction-experience .article-needs-nav a:hover { background:#d9b56e; color:#111f27; }
.fiction-experience .blog-row h3 { margin:0 0 .5rem; font-size:clamp(1.25rem,2vw,1.6rem); }

/* Health repairs: readable text on the existing dark and pale surfaces. */
.fiction-experience .about-copy,
.fiction-experience .about-copy h3 { color:#f6f0e2; }
.fiction-experience .article-reading-time { color:#c9ccca; }
.fiction-experience .campaign-article .article-related a { color:#ead29b; }
.fiction-experience .campaign-article .article-related a:hover,
.fiction-experience .campaign-article .article-related a:focus-visible { color:#f6f0e2; text-decoration:underline; }
.fiction-experience main .section-primary-action[href^="/gaming-group-knight"] { color:#213b36; }
.fiction-experience main .section-primary-action[href^="/gaming-group-knight"]:hover,
.fiction-experience main .section-primary-action[href^="/gaming-group-knight"]:focus-visible { color:#111f27; background:#ead29b; }
.fiction-experience .war-deck-hint { color:#344d5b; }
.jri-start-here>.eyebrow,
.jri-study-card>.eyebrow,
.jri-copy>.eyebrow { color:#344d5b; }

/* Keep Safety Library discovery controls available below the measured header. */
.recovery-header nav,.recovery-actions{display:flex;flex-wrap:wrap;gap:1rem;align-items:center}
.recovery-actions{margin-top:2rem}
@media(max-width:800px){.recovery-header{flex-wrap:wrap}.recovery-header nav{padding-bottom:.75rem}}
.library-search-sticky{position:sticky;top:var(--library-header-height,90px);z-index:20;background:var(--paper,#f5f2eb);padding:.65rem 0;box-shadow:0 5px 12px #00000012;max-height:calc(100dvh - var(--library-header-height,90px) - 44px);overflow:auto;scrollbar-gutter:stable}
.library-search-sticky .library-search-panel{margin:0;padding:.75rem;gap:.5rem 1rem}
.library-search-sticky .article-needs-nav{margin:.5rem 0 0;gap:.4rem}
.library-section .article-need-group{scroll-margin-top:var(--library-sticky-offset,120px)}
.fiction-experience .library-search-sticky{background:#111f27}
/* Related destinations share a wrapping row rather than forced vertical buttons. */
.discovery-actions,.article-needs-nav,.jri-actions,.account-content .account-shortcuts,.account-shortcuts{display:flex;flex-direction:row;flex-wrap:wrap;align-items:stretch;gap:.5rem}
.discovery-actions{margin:0 0 1.25rem}
.discovery-actions a,.jri-actions a,.account-shortcuts a,.account-content .account-shortcuts a{display:inline-flex;align-items:center;justify-content:center;flex:0 1 auto;min-height:44px;max-width:100%;padding:.65rem 1rem;border:1px solid var(--line);border-radius:3px;background:var(--pale);color:var(--deep);font-size:1rem;font-weight:700;text-decoration:none;white-space:normal;box-shadow:none}
.discovery-actions a:hover,.jri-actions a:hover,.account-shortcuts a:hover{border-color:var(--blue);text-decoration:underline}
.fiction-experience :is(.discovery-actions,.jri-actions,.account-shortcuts) a{background:#183643;color:#f6f0e2;border-color:#8e805f}
.fiction-experience :is(.discovery-actions,.jri-actions,.account-shortcuts) a:hover{background:#d9b56e;color:#111f27}
/* Owner panels must carry the Fiction palette as well as its light text. */
.fiction-experience :is(.dashboard-panel,.owner-profile-card){background:#183643;color:#f6f0e2;border-color:#8e805f}
.fiction-experience :is(.dashboard-panel,.owner-profile-card) :is(h2,h3,p,dt,dd){color:#f6f0e2}
.fiction-experience :is(.dashboard-panel,.owner-profile-card) a{color:#ead29b}
.fiction-experience :is(.dashboard-panel,.owner-profile-card) .account-shortcuts a{background:#183643;color:#f6f0e2;border-color:#8e805f}
.fiction-experience :is(.dashboard-panel,.owner-profile-card) .account-shortcuts a:hover{background:#d9b56e;color:#111f27}
.fiction-experience .owner-profile-card .owner-authority{color:#d9b56e}
.fiction-experience .owner-profile-card .player-primary-link{background:#d9b56e;color:#111f27}
@media(max-width:650px){.library-search-sticky{max-height:48dvh}.library-search-sticky .library-search-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.library-search-sticky .library-search-panel>div:first-child{grid-column:1/-1}.library-search-sticky .library-search-panel>p{grid-column:auto;font-size:.85rem}}

.public-course-outline{margin:2rem 0;padding:clamp(1rem,3vw,2rem);border:1px solid #ccd8dd;border-left:4px solid #a16b19;background:#fff;color:#14364e}
.public-course-outline ol{padding-left:1.5rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 2rem}
.public-course-outline li{min-width:0}.public-course-outline h3{font-size:1.05rem;margin:.5rem 0}.public-course-outline p{line-height:1.65}
.article-contents{margin:1rem 0 2rem;padding:1rem 1.25rem;border:1px solid #9aadb7;background:#f2f5f6;color:#14364e}
.article-contents summary{min-height:44px;display:list-item;cursor:pointer;font-weight:700;padding:.5rem 0}
.article-contents ol{columns:2;column-gap:2rem;padding-left:1.4rem}.article-contents li{break-inside:avoid;padding:.35rem 0}
.article-contents a{color:inherit}.article-contents :focus-visible{outline:3px solid #a55200;outline-offset:3px}.article-content h2[id]{scroll-margin-top:130px}
.fiction-experience .article-contents{background:#183643;color:#f6f0e2;border-color:#8e805f}
@media(max-width:650px){.public-course-outline ol{grid-template-columns:1fr}.article-contents ol{columns:1}}

/* One consistent next step after public content. */
.next-step-section{padding-top:24px;padding-bottom:56px}.page-next-step{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px);gap:32px;align-items:center;padding:clamp(24px,4vw,44px);background:#eef3ee;border:1px solid #c9d4c8;border-left:5px solid #365347;border-radius:12px}.page-next-step h2{font-size:clamp(1.5rem,2.6vw,2.1rem);line-height:1.2;margin:8px 0 14px}.page-next-step p{max-width:64ch;margin-bottom:0}.next-step-actions{display:flex;flex-direction:column;align-items:stretch;gap:16px}.next-step-actions .button{display:flex;align-items:center;justify-content:center;min-height:52px;white-space:normal;text-align:center;line-height:1.4;padding:14px 20px}.next-step-secondary{text-align:center;text-decoration:underline;text-underline-offset:4px}.fiction-experience .page-next-step{background:#eee6d7;border-color:#baaa8f;border-left-color:#735438;color:#29251e}.next-step-actions a:focus-visible{outline:3px solid #b67124;outline-offset:5px}@media(max-width:700px){.page-next-step{grid-template-columns:minmax(0,1fr);gap:22px}.next-step-actions{max-width:100%}}

/* Fiction discovery chapters reuse Tabletop's desktop stacking; working pages stay steady. */
.fiction-chapters > section { scroll-margin-top:var(--ggk-nav-height,100px); background:#111f27; color:#f6f0e2; }
.fiction-chapters > .page-lead { background:#12272d; color:#f1eadb; }
.fiction-chapters > .page-lead h1 { color:#f1eadb; }
.fiction-chapters > .page-lead .eyebrow { color:#e1bd77; }
.fiction-chapters > .fiction-band { background:#183039; }
.fiction-destination-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr)); gap:1.5rem; margin-top:2rem; }
.fiction-destination-grid article { display:flex; flex-direction:column; padding:1.5rem; border:1px solid #687a70; border-top:3px solid #8a6a32; border-radius:6px; background:#f8f5ed; color:#263c40; }
.fiction-destination-grid h3 { font:400 1.7rem/1.2 Georgia,serif; color:#20383c; margin:.5rem 0; }
.fiction-destination-grid .text-link { align-self:flex-start; margin-top:auto; color:#263c40; }
.fiction-chapters a:focus-visible { outline:3px solid #a36b15; outline-offset:4px; }
.fiction-chapters > .page-lead a:focus-visible { outline-color:#f1ce77; }
.ggk-related-game { font-size:1rem; max-width:42rem; }
@media (min-width:1000px) and (prefers-reduced-motion:no-preference) {
 .fiction-chapters.ggk-stacking { position:relative; isolation:isolate; }
 .fiction-chapters.ggk-stacking > section { position:sticky; top:var(--ggk-stack-top); z-index:var(--ggk-stack-layer); box-shadow:0 -12px 30px #0002; }
 .fiction-chapters.ggk-stacking > section:last-child { min-height:calc(100dvh - var(--ggk-nav-height,100px)); box-sizing:border-box; }
}

.fiction-destination-grid .section-label { color:#715321; }

/* Shared page search docking: in-flow sticky positioning never overlays the
   first result. Header height follows desktop/mobile navigation resizing. */
.page-search-sticky.page-search-sticky{position:sticky;top:var(--search-header-height,144px);z-index:30;background:#f2f5f6;color:#17384c;padding:10px 12px;gap:8px 12px;border-block:1px solid #ccd8dd;box-shadow:0 5px 12px #00000012;max-height:min(42dvh,calc(100dvh - var(--search-header-height,144px) - 96px));overflow:auto;scrollbar-gutter:stable;box-sizing:border-box}
.page-search-sticky :is(input,select,button){min-height:44px;max-width:100%;font-size:16px}
.page-search-sticky label{font-size:12px;line-height:1.4}
.page-search-sticky>*{min-width:0}
.page-search-sticky~[id],.page-search-sticky~* [id]{scroll-margin-top:var(--search-content-offset,300px)}
.fiction-experience .page-search-sticky{background:#183643;color:#f6f0e2}
.library-search-sticky.library-search-sticky{z-index:30;max-height:min(42dvh,calc(100dvh - var(--library-header-height,144px) - 96px))}
.library-search-sticky .library-search-panel :is(input,select,button){min-height:44px;padding:8px;font-size:16px}
@media(max-width:650px){
 .page-search-sticky.page-search-sticky{padding:8px;gap:6px 8px}
 .page-search-sticky :is(input,select){width:100%;min-width:0}
 .page-search-sticky>div:has(>label[for="jaat-course-search"]){flex-basis:100%}
 .page-search-sticky>div:has(>label[for="jaat-course-topic"]),.page-search-sticky>div:has(>label[for="jaat-enrollment"]){flex:1;min-width:110px}
 .page-search-sticky [role="status"]{margin:0!important}
}

/* Unified My Account: matching sections, one navigation stack, Fiction last. */
.unified-account-page .account-page-heading{margin-bottom:1.75rem}
.unified-account-page .account-page-heading h1{margin:.4rem 0 .65rem}
.unified-account-page .account-page-heading>p:last-child{margin:0;color:#526775;max-width:70ch}
.member-room.unified-account-page .account-layout{grid-template-columns:minmax(225px,260px) minmax(0,1fr);gap:clamp(1.25rem,3vw,2rem)}
.unified-account-layout .account-side{top:120px;max-height:calc(100svh - 145px);overflow-y:auto}
.unified-account-layout .account-sidebar{padding:.65rem}
.unified-account-layout .account-sidebar nav a{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;padding:.8rem .85rem;border:1px solid transparent;border-radius:7px;font-weight:700;font-size:.88rem;line-height:1.45}
.unified-account-layout .account-sidebar nav a small{font-size:.73rem;font-weight:400;color:#c9dce8;line-height:1.4}
.unified-account-layout .account-sidebar nav li+li{margin-top:.2rem}
.unified-account-layout .account-sidebar a[aria-current=location]{border-color:#79a6c0;background:#174f6e;box-shadow:inset 3px 0 #f28240}
.unified-account-layout .account-sidebar a:hover{background:#164962}
.unified-account-layout .account-sidebar :is(a,button):focus-visible{outline:3px solid #f6c900;outline-offset:2px}
.unified-account-layout .account-sidebar-actions{border-top:1px solid #ffffff30;margin-top:.85rem;padding-top:.7rem;display:grid;gap:.4rem}
.unified-account-layout .account-sidebar-actions>a,.unified-account-layout .account-sidebar-actions>button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;margin:0;padding:.7rem .85rem;border:1px solid transparent;border-radius:7px;background:transparent;color:#fff;text-align:left;font:inherit;font-size:.85rem;line-height:1.4;cursor:pointer;text-decoration:none}
.unified-account-layout .account-sidebar-actions>button:hover{background:#164962}
.unified-account-layout .shared-account-card{margin:0 0 1.5rem;background:#fff;border-left-color:#1e587a;box-shadow:none}
.unified-account-layout .account-stack{display:grid;gap:1rem}
.member-room .unified-account-layout .account-stack>.account-disclosure{margin:0;border:1px solid #cbd8e0;border-radius:12px;overflow:hidden;background:#fff;box-shadow:none;scroll-margin-top:155px}
.member-room .unified-account-layout .account-stack>.account-disclosure>summary{min-height:84px;padding:1.1rem 1.35rem;gap:1.25rem;color:#123e59;background:#fff}
.member-room .unified-account-layout .account-stack>.account-disclosure>summary>span{display:block;min-width:0}
.member-room .unified-account-layout .account-stack>.account-disclosure>summary strong{display:block;font-size:clamp(1rem,1.5vw,1.18rem);font-weight:700;line-height:1.4}
.member-room .unified-account-layout .account-stack>.account-disclosure>summary small{display:block;margin-top:.3rem;font-size:.83rem;font-weight:400;line-height:1.5;color:#536a78}
.member-room .unified-account-layout .account-stack>.account-disclosure>summary::after{content:'';width:9px;height:9px;border-radius:0;background:transparent;border-right:2px solid #315e78;border-bottom:2px solid #315e78;transform:rotate(45deg);flex:none;margin-right:.25rem}
.member-room .unified-account-layout .account-stack>.account-disclosure[open]>summary{background:#f1f6f9;border-bottom-color:#e08040}
.member-room .unified-account-layout .account-stack>.account-disclosure[open]>summary::after{transform:rotate(225deg)}
.member-room .unified-account-layout .account-stack>.account-disclosure>summary:hover{background:#f1f6f9}
.unified-account-layout .account-section-content{display:grid;gap:1.25rem}
.unified-account-layout .account-section-content>p{margin:0}
.unified-account-layout .account-section-intro{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1.25rem}
.unified-account-layout .account-section-intro>div{flex:1;min-width:min(100%,260px)}
.unified-account-layout .account-section-intro h3{font-size:1.3rem;margin:.7rem 0}
.unified-account-layout .account-section-intro p{margin:.6rem 0;line-height:1.6}
.unified-account-layout .account-resource-links{display:flex;flex-wrap:wrap;gap:.6rem 1.25rem}
.unified-account-layout .account-resource-links a{min-height:36px;display:inline-flex;align-items:center;font-weight:600}
.unified-account-layout .account-resource-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:1rem;margin:1.25rem 0}
.unified-account-layout .account-resource-card{border:1px solid #d2dde4;border-radius:9px;padding:1.1rem;background:#f7f9fa;min-width:0}
.unified-account-layout .account-resource-card h3{font-size:1.08rem;line-height:1.4;margin:0 0 .7rem}
.unified-account-layout .account-resource-card p{font-size:.92rem;line-height:1.6}
.unified-account-layout .account-resource-card a{font-weight:600}
.unified-account-layout .account-access-option{padding:1.25rem;border:1px solid #d2dde4;border-radius:9px;background:#f7f9fa}
.unified-account-layout .account-access-option h3{margin:0 0 .75rem;font-size:1.15rem}
.unified-account-layout .account-access-option p{line-height:1.6}
.unified-account-layout .account-access-status{font-weight:700;color:#25553a}
.unified-account-layout .account-section-content>.learner-dashboard{border:1px solid #d2dde4;box-shadow:none}
.unified-account-layout .account-disclosure-body .account-disclosure:last-child{margin-bottom:0}
.unified-account-layout .account-fiction-section .member-dashboard{margin-bottom:0}
@media(max-width:900px){
 .member-room.unified-account-page .account-layout{grid-template-columns:1fr}
 .unified-account-layout .account-side{position:relative;top:auto;max-height:none;overflow:visible}
 .unified-account-layout .account-side .mobile-navigation{display:block}
 .unified-account-layout .account-side .mobile-navigation-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;padding:.65rem .8rem;border:1px solid #cbd8e0;border-radius:7px;background:#fff;color:#123e59;font:inherit;font-weight:700;cursor:pointer}
 .unified-account-layout .account-side .mobile-navigation-content[data-state="closed"]{display:none}
 .unified-account-layout .account-side .mobile-navigation-content[data-state="open"]{display:block}
 .unified-account-layout .account-sidebar{max-height:55svh;overflow-y:auto}
 .unified-account-page .account-page-heading{margin-bottom:1.2rem}
}
@media(max-width:600px){
 .member-room .unified-account-layout .account-stack>.account-disclosure>summary{padding:1rem;min-height:80px}
 .unified-account-layout .account-section-intro>.player-primary-link{width:100%;text-align:center}
 .unified-account-layout .account-resource-links{display:grid;gap:.4rem}
 .unified-account-layout .account-access-option{padding:1rem}
}

/* Optional consent stays in document flow and never covers page content. */
.analytics-choice{position:relative;inset:auto;max-width:none;max-height:none;overflow:visible;z-index:auto;margin:0;padding:.75rem max(1rem,calc((100% - 1200px)/2));border:0;border-bottom:1px solid #cbd4db;border-radius:0;box-shadow:none;background:#f4f6f7}.analytics-choice h2{font-size:1rem}.analytics-choice>div{align-items:center}.analytics-choice details{max-width:75ch}

/* Screen headings must wrap within narrow cards and phone viewports. */
@media screen {
  :where(h1, h2, h3, h4, h5, h6) {
    overflow-wrap: anywhere;
    text-wrap: pretty;
    min-width: 0;
  }
}

/* Category icons identify the resource format consistently across discovery and detail views. */
.resource-type-kicker{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.post-kicker:has([data-resource-category]){display:flex;align-items:center;gap:8px}

/* Shared action symbols; visible labels and native control behavior remain authoritative. */
.action-icon{display:inline-block;width:1.1em;height:1.1em;min-width:1.1em;flex:none;vertical-align:-.16em;background:currentColor;mask:var(--action-symbol) center/contain no-repeat;-webkit-mask:var(--action-symbol) center/contain no-repeat;pointer-events:none}
.action-icon[data-icon="download"],[data-action-icon="download"]{--action-symbol:url('/site-icons/actions/download.svg')}
.action-icon[data-icon="print"],[data-action-icon="print"]{--action-symbol:url('/site-icons/actions/print.svg')}
.action-icon[data-icon="save"],[data-action-icon="save"]{--action-symbol:url('/site-icons/actions/save.svg')}
.action-icon[data-icon="share"],[data-action-icon="share"]{--action-symbol:url('/site-icons/actions/share.svg')}
.action-icon[data-icon="copy"],[data-action-icon="copy"]{--action-symbol:url('/site-icons/actions/copy.svg')}
.action-icon[data-icon="back"],[data-action-icon="back"]{--action-symbol:url('/site-icons/actions/back.svg')}
.action-icon[data-icon="next"],[data-action-icon="next"]{--action-symbol:url('/site-icons/actions/next.svg')}
.action-icon[data-icon="expand"],[data-action-icon="expand"]{--action-symbol:url('/site-icons/actions/expand.svg')}
.action-icon[data-icon="collapse"],[data-action-icon="collapse"]{--action-symbol:url('/site-icons/actions/collapse.svg')}
.action-icon[data-icon="close"],[data-action-icon="close"]{--action-symbol:url('/site-icons/actions/close.svg')}
.action-icon[data-icon="search"],[data-action-icon="search"]{--action-symbol:url('/site-icons/actions/search.svg')}
.action-icon[data-icon="filter"],[data-action-icon="filter"]{--action-symbol:url('/site-icons/actions/filter.svg')}
.action-icon[data-icon="reset"],[data-action-icon="reset"]{--action-symbol:url('/site-icons/actions/reset.svg')}
.action-icon[data-icon="open"],[data-action-icon="open"]{--action-symbol:url('/site-icons/actions/open.svg')}
.action-icon[data-icon="up"],[data-action-icon="up"]{--action-symbol:url('/site-icons/actions/up.svg')}
.action-icon[data-icon="calendar"],[data-action-icon="calendar"]{--action-symbol:url('/site-icons/actions/calendar.svg')}
:where(form[role="search"] button:not([type="button"]):not([type="reset"])):not(:has(svg,.action-icon))::before,button[type="reset"]:not(:has(svg,.action-icon))::before,:is(a,button)[data-action-icon]:not(:has(svg,.action-icon))::before,a[download]:not(.library-icon-card):not(.resource-catalog-card):not(:has(svg,.action-icon))::before{content:"";display:inline-block;width:1.1em;height:1.1em;min-width:1.1em;margin-right:.45em;vertical-align:-.16em;background:currentColor;mask:var(--action-symbol,url(/site-icons/actions/download.svg)) center/contain no-repeat;-webkit-mask:var(--action-symbol,url(/site-icons/actions/download.svg)) center/contain no-repeat;pointer-events:none}
main details>summary:not(:has(svg,.action-icon)){list-style:none}main details>summary:not(:has(svg,.action-icon))::-webkit-details-marker{display:none}main details>summary:not(:has(svg,.action-icon))::before{content:"";display:inline-block;width:1em;height:1em;min-width:1em;margin-right:.45em;vertical-align:-.15em;background:currentColor;mask:url(/site-icons/actions/expand.svg) center/contain no-repeat;-webkit-mask:url(/site-icons/actions/expand.svg) center/contain no-repeat;transform:rotate(-90deg)}main details[open]>summary:not(:has(svg,.action-icon))::before{transform:none}
.icon-label{display:inline-flex;align-items:center;gap:9px}.icon-label>span:last-child{min-width:0}.resource-topic-mark{display:inline-flex;align-items:center;gap:6px;margin-top:12px;font:600 11px/1.4 Arial,sans-serif;color:#56636a}.resource-topic-mark img{display:block!important;width:22px!important;height:22px!important;min-width:22px;object-fit:contain!important;border:0!important;border-radius:0!important;background:transparent!important;padding:0!important;box-shadow:none!important}.module-category-symbol{display:inline-flex;align-items:center;justify-content:center;padding:3px;background:#fbfaf6;border-radius:3px;flex:none}.resource-page-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.resource-share{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap}.resource-share-button{font:inherit;font-weight:600;color:inherit;border:1px solid #8a939a;border-radius:4px;padding:10px 14px;background:transparent;cursor:pointer}.resource-share [role=status]{font-size:12px}.back-to-top{gap:7px;align-items:center}
@media print{.action-icon,[data-action-icon]::before,a[download]::before,main details>summary::before,.resource-share{display:none!important}}

:where(form[role="search"] button:not([type="button"]):not([type="reset"])){--action-symbol:url(/site-icons/actions/search.svg)}:where(button[type="reset"]){--action-symbol:url(/site-icons/actions/reset.svg)}

/* Keep category identity and secondary labels readable on dark resource heroes. */
.library-lead .resource-type-kicker>[data-resource-category]{background:#fbfaf6!important;padding:3px!important;border-radius:3px!important}.library-lead .resource-topic-mark{color:#e4edf2}
main details>summary:not(:has(svg,.action-icon))>span:has(>strong){margin-right:auto}

/* Optional full-height shell for short jSMS offer pages. */
.site-frame-fill{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}.site-frame-fill>main{flex:1}.site-frame-fill>.site-footer{flex:none}
