/* Shared fantasy palette. Page-specific game and editor layouts stay in style.css. */
:root{--of-content-width:1280px;--of-content-gutter:16px;--of-inner-width:calc(var(--of-content-width) - 2 * var(--of-content-gutter));--of-ink:#203c34;--of-forest:#142a25;--of-gold:#c1a165;--of-paper:#f4f0e6;--of-muted:#73786d;--of-line:#dcd6c6;--of-serif:'Noto Serif JP','Yu Mincho',Georgia,serif;--of-display:'Cinzel',Georgia,serif}
body.of-theme{background:var(--of-paper)!important;color:var(--of-ink)}
.of-theme .site-header,.of-theme .mobile-header{background:var(--of-forest);border-bottom:1px solid #b494554d;color:#f2eddd}
.of-theme .mobile-header{background:var(--of-forest)!important}
.of-theme .site-header{width:100%;min-width:0;height:80px}
.of-theme .site-header-inner{width:min(var(--of-content-width),100%);padding:0 28px;box-sizing:border-box}
.of-theme .site-title,.of-theme .mobile-site-title{font-family:var(--of-display);font-size:21px;letter-spacing:1.5px;margin:0;line-height:1.4}
.of-brand{color:#f6efda;text-decoration:none;display:inline-flex;align-items:center;gap:12px;white-space:nowrap}
.of-brand-mark{font-family:Georgia,serif;color:var(--of-gold);font-size:32px;line-height:1}
.of-theme .site-header-nav{gap:19px}
.of-theme .site-header-nav>a{font-size:11px;letter-spacing:1.5px;color:#d8decd;padding:12px 0;border-radius:0}
.of-theme .site-header-nav>a:hover{background:transparent;color:#e1bf7f}
.of-theme .site-header-nav .site-header-login-btn{background:transparent;border:1px solid #b69a63;color:#e1c790;padding:10px 18px;font-size:11px}
.of-theme .mobile-header-inner{min-height:64px;padding:0 18px;box-sizing:border-box}
.of-theme .mobile-site-title{font-size:16px;letter-spacing:.6px}
.of-mobile-brand-name{display:block;line-height:1.15;text-transform:uppercase}
.of-theme .mobile-menu-btn{color:#d7c59c;font-size:26px}
.of-theme .mobile-nav-menu{top:64px;background:var(--of-paper);border-color:var(--of-line)}
.of-theme .mobile-nav-menu a{color:var(--of-ink);font-size:13px;border-color:var(--of-line)}
.of-theme .toolbar{background:#203c34;border-color:#496051;width:100%;min-width:0}
.of-theme .toolbar-inner{width:min(var(--of-content-width),100%);box-sizing:border-box;padding:0 28px}
.of-user-avatar{position:relative;display:inline-grid;place-items:center;width:36px;height:36px;border:1px solid #bca66d77;border-radius:4px;background:#243f34;color:#d9ca9a;font-size:20px;overflow:hidden}
.of-theme .site-header-user .of-user-avatar img{position:absolute;inset:0;width:100%;height:100%;margin:0;object-fit:cover;border-radius:0}
.of-theme .of-user-menu-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;box-sizing:border-box;padding:4px 10px 4px 4px;border:1px solid #b69a63;border-radius:4px;background:#243f34;color:#e1c790;font:inherit;cursor:pointer}
.of-theme .of-user-menu-button .of-user-avatar{width:32px;height:32px;border:0;border-radius:2px}
.of-theme .of-user-menu-button>.bi-list{font-size:24px;line-height:1}
.of-theme .of-user-menu-button:hover,.of-theme .of-user-menu-button[aria-expanded="true"]{background:#365c49;border-color:#e1c790;color:#fff4d9}
.of-theme .of-user-menu-button:focus-visible{outline:2px solid #e1c790;outline-offset:3px}
.of-theme .toolbar a{color:#eee4ce}
.of-theme :focus-visible{outline:3px solid #ab843d;outline-offset:5px}
.of-theme .container{background:var(--of-paper);max-width:var(--of-content-width);box-sizing:border-box}
.of-theme .userpage-right{min-width:0}
.of-theme .userpage-right .user-tabs,
.of-theme .userpage-right .tab-list,
.of-theme .userpage-right .tab-content,
.of-theme .userpage-right .tab-pane,
.of-theme .tab-pane#user-decks,
.of-theme .tab-pane#favorite-decks,
.of-theme .userpage-right .deck-list-cards,
.of-theme .userpage-right .pagination-nav{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box}
.of-theme .container .pagination{max-width:100%;box-sizing:border-box;flex-wrap:wrap;padding-left:0;padding-right:0}
.of-theme .card-search-block,.of-theme .deck-search-block{background:#ede8db;border-color:var(--of-line)}
.of-theme .page-box.active,.of-theme .pagination .current,.of-theme .detail-tab-btn{background-color:var(--of-forest)}
.of-home{max-width:none;margin:0;overflow:hidden}
.of-home *{box-sizing:border-box}
.of-home h1,.of-home h2,.of-home h3,.of-home p{margin:0}
.of-hero{position:relative;min-height:560px;display:flex;align-items:center;background:#152b25;color:#fff;isolation:isolate}
.of-hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 46%;z-index:-3}
.of-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#091b16db 0%,#0c1e1785 38%,#0918150f 75%),linear-gradient(0deg,#0b1a167a,transparent 40%);z-index:-2}
.of-hero-inner{width:var(--of-content-width);max-width:100%;margin:auto;padding:65px 28px 78px}
.of-eyebrow{font-family:var(--of-display);font-size:10px;letter-spacing:2.8px;color:#d9c79f;display:flex;align-items:center;gap:12px}
.of-eyebrow>span{height:1px;width:28px;background:#bca46e}
.of-hero h1{font-family:var(--of-serif);font-weight:500;font-size:53px;line-height:1.6;letter-spacing:.15em;margin:23px 0 22px;text-shadow:0 2px 20px #071a1777}
.of-hero-description{color:#e0e3d7;font-size:13px;line-height:2.25;letter-spacing:.08em}
.of-hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}
.of-button{display:inline-flex;align-items:center;gap:16px;justify-content:center;padding:14px 22px;text-decoration:none;font-size:12px;letter-spacing:.04em;transition:background .2s,transform .2s}
.of-button:hover{transform:translateY(-2px)}
.of-button-gold{color:#182b23;background:#d3b77d;border:1px solid #d3b77d}
.of-button-gold:hover{background:#e5ca94;color:#182b23}
.of-button-ghost{color:#eee9dc;border:1px solid #f0ead64d;background:#16332922}
.of-button-ghost:hover{color:white;background:#203c3499}
.of-hero-caption{position:absolute;bottom:22px;right:max(28px,calc((100vw - var(--of-inner-width))/2));font-family:var(--of-display);font-size:9px;letter-spacing:2px;color:#e1d6b6;display:flex;gap:10px;align-items:center}
.of-hero-caption>span{font-size:20px}
.of-section{width:var(--of-inner-width);max-width:calc(100% - 56px);margin-left:auto;margin-right:auto}
.of-formats{padding:64px 0 60px}
.of-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:30px}
.of-kicker{font-family:var(--of-display);color:#8b784c;font-size:10px;letter-spacing:2px;font-weight:600}
.of-home h2{font-family:var(--of-serif);font-weight:600;font-size:27px;line-height:1.8;letter-spacing:.05em;margin-top:10px}
.of-section-heading>p,.of-community-intro>p:last-child{font-size:12px;line-height:2;color:var(--of-muted)}
.of-format-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.of-format{position:relative;padding:21px 25px 0;border:1px solid #d9d2c0;min-width:0;background:linear-gradient(155deg,#faf8f0,#eeeee1);text-align:center;overflow:hidden}
.of-format::after{content:'';position:absolute;inset:6px;border:1px solid #c4b89044;pointer-events:none}
.of-format-top{display:flex;justify-content:space-between;align-items:center}
.of-roman{font-family:var(--of-display);font-size:16px;color:#9b8e69}
.of-status{font-size:9px;letter-spacing:.05em;color:#55765d;display:flex;align-items:center;gap:5px}
.of-status::before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}
.of-status-pending{color:#827969}
.of-format-emblem{width:70px;height:70px;margin:13px auto 20px;display:grid;place-items:center;border:1px solid #b1bba077;border-radius:50%;outline:1px solid #b8bcab55;outline-offset:5px;color:#3c6148;background:#e4e9da;font-size:31px}
.of-format-invasion{background:linear-gradient(155deg,#faf7f0,#eee4d9)}
.of-format-invasion .of-format-emblem{color:#99674c;background:#ede0cd;border-color:#c0a48577}
.of-format-classic{background:linear-gradient(155deg,#faf8f2,#e8e4ed)}
.of-format-classic .of-format-emblem{color:#766180;background:#e5e0e9;border-color:#af9cb577}
.of-format-en{font-family:var(--of-display);font-size:9px;letter-spacing:1.5px;color:#908365}
.of-format h3{font-family:var(--of-serif);font-size:19px;font-weight:600;margin:8px -16px 12px;letter-spacing:.01em}
.of-format .of-format-description{font-size:11px;line-height:2.1;color:#707166;margin-bottom:25px}
.of-format-link{min-height:53px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #c8c1ad99;text-decoration:none;color:#2c4c3a;font-size:11px;position:relative;z-index:1}
a.of-format-link:hover{color:#97733a}
.of-format-unavailable{font-size:10px;color:#7c796f}
.of-library{min-height:310px;position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;background:#1b352d;color:#f3eedf;padding:40px 58px;isolation:isolate;overflow:hidden}
.of-library::before{content:'';position:absolute;inset:8px;border:1px solid #bda06b55;z-index:-1}
.of-library-text{position:relative;z-index:2;flex-shrink:0}
.of-library .of-kicker{color:#bea879}
.of-library h2{font-size:27px;line-height:1.8}
.of-library-text>p:not(.of-kicker){font-size:11px;line-height:2;color:#c5cdc0;margin-top:16px}
.of-text-link{color:#e0c48c;display:inline-flex;align-items:center;gap:38px;font-size:11px;text-decoration:none;border-bottom:1px solid #ad956366;padding:16px 0 7px}
.of-text-link:hover{color:#fff4d6}
.of-library-cards{width:410px;min-width:280px;height:264px;position:relative;margin:12px 0}
.of-library-cards img{position:absolute;width:148px;height:auto;border-radius:8px;top:24px;box-shadow:0 15px 30px #0007;border:1px solid #f4e6bf33}
.of-library-cards img:first-child{left:8%;transform:rotate(-15deg);top:37px}
.of-library-cards img:nth-child(2){left:32%;z-index:1;transform:rotate(-2deg);top:6px}
.of-library-cards img:last-child{left:57%;transform:rotate(14deg);top:36px}
.of-library-mark{position:absolute;right:110px;top:-70px;font-size:460px;line-height:1;color:#a6936220;z-index:-1}
.of-community{display:grid;grid-template-columns:1fr 1.2fr;gap:70px;padding:62px 0 72px}
.of-community-intro>p:last-child{margin-top:15px}
.of-community-links>a{display:flex;align-items:center;gap:23px;text-decoration:none;color:var(--of-ink);padding:21px 0;border-bottom:1px solid var(--of-line)}
.of-community-links>a:first-child{border-top:1px solid var(--of-line)}
.of-community-links>a>i{font-size:23px;color:#918058}
.of-community-links h3{font-family:var(--of-serif);font-size:16px;font-weight:600}
.of-community-links p{color:var(--of-muted);font-size:11px;margin-top:6px}
.of-community-links>a>span{margin-left:auto;color:#897449}
.of-community-links>a:hover h3{color:#967b42}
.of-footer{background:#142a25;color:#b7c0ae;padding:38px max(28px,calc((100% - var(--of-inner-width))/2)) 22px;border-top:3px solid #b59a6266;font-size:11px}
.of-footer-top{display:flex;justify-content:space-between;align-items:center;gap:28px;padding-bottom:25px;border-bottom:1px solid #82947c33}
.of-footer .of-brand{font-family:var(--of-display);font-size:17px;letter-spacing:1px}
.of-footer-nav{display:flex;flex-wrap:wrap;gap:24px}
.of-footer a{color:#d6ddca;text-decoration:none}
.of-footer a:hover{color:#dbc18b}
.of-footer-legal{font-size:9px;line-height:1.9;color:#9aa792;max-width:1000px;margin-top:22px}
.of-footer-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:22px;gap:20px;color:#b5b99e;font-family:var(--of-display);font-size:9px;letter-spacing:.7px}
.of-socials{display:flex;gap:17px;font-size:14px}
.of-skip{position:fixed;left:16px;top:-100px;z-index:1000000;background:var(--of-paper);padding:12px 20px;color:var(--of-ink)}
.of-skip:focus{top:12px}
@media(min-width:601px){.of-theme .mobile-header,.of-theme .mobile-nav-menu{display:none!important}}
@media(max-width:900px) and (min-width:601px){.of-theme .site-title{font-size:16px;letter-spacing:.5px}.of-theme .site-header-inner{padding:0 18px}.of-theme .site-header-nav{gap:12px}.of-theme .site-header-nav>a{font-size:10px;letter-spacing:.5px}.of-format-grid{gap:12px}.of-format{padding:18px 16px 0}.of-format h3{font-size:15px}.of-library{padding:34px}.of-library-cards{min-width:250px;transform:scale(.85);transform-origin:right center}.of-community{gap:35px}}
@media(max-width:600px){
 .of-theme .site-header{display:none!important}.of-theme .mobile-header{display:block}
 .of-hero{min-height:550px;align-items:flex-start}.of-hero-art{object-position:67% center}.of-hero-shade{background:linear-gradient(90deg,#102820b0,#1028203d),linear-gradient(0deg,#102820e8,transparent 60%)}
 .of-hero-inner{padding:53px 25px 80px}.of-eyebrow{font-size:8px;letter-spacing:1.5px;gap:8px}.of-eyebrow>span{width:18px}.of-hero h1{font-size:36px;line-height:1.7;letter-spacing:.12em;margin:24px 0 20px}.of-hero-description{font-size:11px;letter-spacing:.02em;line-height:2.3}
 .of-hero-actions{gap:10px;margin-top:26px}.of-button{padding:13px 15px;font-size:11px;gap:12px}.of-button-ghost{padding:13px 10px}.of-hero-caption{right:24px;bottom:20px;font-size:7px;letter-spacing:1.3px}
 .of-section{max-width:calc(100% - 40px)}.of-formats{padding:40px 0}.of-section-heading{display:block;margin-bottom:24px}.of-home h2{font-size:23px}.of-kicker{font-size:9px;letter-spacing:1.7px}.of-section-heading>p{margin-top:12px;font-size:11px}.of-section-heading>p br{display:none}
 .of-format-grid{grid-template-columns:1fr;gap:16px}.of-format{padding:20px 25px 0}.of-format-emblem{margin:8px auto 18px;width:59px;height:59px;font-size:28px}.of-format h3{font-size:21px}.of-format .of-format-description{font-size:12px;margin-bottom:22px}.of-format-en{font-size:10px}.of-format-link{font-size:12px}.of-format-unavailable{font-size:11px}
 .of-library{padding:33px 27px 15px;display:block}.of-library h2{font-size:23px}.of-library-text>p:not(.of-kicker){font-size:11px}.of-library-cards{width:270px;min-width:0;height:227px;margin:30px auto 5px}.of-library-cards img{width:116px}.of-library-cards img:first-child{left:2%}.of-library-cards img:nth-child(2){left:29%}.of-library-cards img:last-child{left:56%}.of-library-mark{right:-10px;top:130px;font-size:350px}
 .of-community{grid-template-columns:1fr;gap:25px;padding:42px 0}.of-community-intro h2 br{display:none}.of-community-links>a{gap:18px;padding:20px 0}.of-community-links h3{font-size:15px}
 .of-footer{padding:30px 22px 22px}.of-footer-top{align-items:flex-start;flex-direction:column;gap:20px}.of-footer .of-brand{font-size:15px}.of-footer-nav{gap:20px;font-size:10px}.of-footer-bottom{align-items:flex-start;flex-direction:column;gap:17px}.of-footer-legal{font-size:8px}
}
@media(prefers-reduced-motion:reduce){.of-button{transition:none}.of-button:hover{transform:none}}
@media(max-width:600px){.of-library-cards{width:min(270px,100%)}.of-library-cards img{width:43%}}
@media(max-width:360px){
 .of-hero h1{font-size:30px}.of-hero-inner{padding-left:22px;padding-right:22px}
 .of-home h2{font-size:20px}.of-format h3{font-size:18px}.of-library h2{font-size:19px}
 .of-community-intro h2 br{display:block}.of-hero-description{font-size:10px}
}

/* Match site8's shared 1280px shell and the GCG builder's 16px gutters. */
.of-theme .site-header-inner,.of-theme .toolbar-inner,.of-theme .mobile-header-inner,
.of-theme .of-hero-inner,.of-theme .cw,.of-theme .ds-page{padding-left:var(--of-content-gutter);padding-right:var(--of-content-gutter)}
.of-theme .container,.of-theme .sf-admin{width:100%;max-width:var(--of-content-width);box-sizing:border-box;padding-left:var(--of-content-gutter);padding-right:var(--of-content-gutter)}
.of-theme .of-section{max-width:calc(100% - 2 * var(--of-content-gutter))}
.of-theme .of-footer{padding-left:max(var(--of-content-gutter),calc((100% - var(--of-inner-width))/2));padding-right:max(var(--of-content-gutter),calc((100% - var(--of-inner-width))/2))}
.of-theme .of-hero-caption{right:max(var(--of-content-gutter),calc((100% - var(--of-inner-width))/2))}
.of-language-control{display:inline-flex;align-items:center;padding:4px 8px}
.of-language-control select{max-width:110px;padding:5px 8px;border:1px solid #aa9363;border-radius:4px;background:#f4eddf;color:#243a30;font:inherit;font-size:13px}
html[lang=en] .of-hero h1{font-size:clamp(36px,5vw,70px)}
html[lang=en] .cw-heading-actions,html[lang=en] .cw-output-panel{flex-wrap:wrap}
html[lang=en] .cw-deck-meta-row>.cw-format-label{flex-basis:190px}

.site-header-nav>.of-language-control{margin-left:auto;padding-right:0}
.mobile-header-inner>.of-language-control{flex:0 0 auto;padding:0;margin-left:8px}
.mobile-header-inner>.of-language-control select{width:82px;padding:5px 3px}
.of-theme .mobile-site-title{min-width:0;flex:1}
.of-theme .toolbar{height:42px;background:#203c34;border-bottom:1px solid #aa936355}
.of-theme .toolbar-inner{justify-content:flex-end;gap:12px}
.of-theme .toolbar-actions{flex:0 0 auto;gap:4px}
.of-theme .toolbar .toolbar-btn{min-height:30px;box-sizing:border-box;padding:5px 10px;border:1px solid transparent;border-radius:3px;background:transparent;color:#eee4ce;font-family:inherit;font-size:12px;font-weight:600;line-height:18px;white-space:nowrap;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.of-theme .toolbar-separator{color:#aa9363;font-size:12px;line-height:18px}
.of-theme .toolbar .toolbar-btn .bi{font-size:13px;color:#c9af78}
.of-theme .toolbar .toolbar-btn:hover{background:#ffffff0d;border-color:#aa936377;color:#fff6e2}
.of-theme .toolbar .toolbar-btn:focus-visible,.of-theme .toolbar select:focus-visible{outline:2px solid #c9af78;outline-offset:2px}
.of-theme .toolbar-inner>.of-language-control{margin-left:0;flex:0 0 auto;padding:0 0 0 12px;border-left:1px solid #aa936355}
.of-theme .toolbar-inner>.of-language-control select{height:30px;box-sizing:border-box;padding:3px 8px;border:1px solid #aa936377;border-radius:3px;background:#29483d;color:#f3e8cf;font-size:12px;cursor:pointer}
.of-home .of-format{height:auto;box-sizing:border-box;padding-bottom:20px}.of-home .of-format-details{display:flex;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;width:100%;max-width:100%;min-height:40px;margin:4px 0 0;padding:10px 14px;border:1px solid #a78f5d;border-radius:3px;background:#244438;color:#f5ead0;font-size:12px;font-weight:600;line-height:1.5;text-decoration:none;position:relative;z-index:1;overflow-wrap:anywhere}.of-home .of-format-details:hover{background:#365c49;border-color:#c6ac75;color:#fff}.of-home .of-format-details:focus-visible{outline:2px solid #96743a;outline-offset:3px}.of-home .of-format-details span{flex-shrink:0;color:#d4ba80}
.of-theme .of-rules-pool-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;box-sizing:border-box;max-width:100%;min-height:42px;padding:10px 18px;border:1px solid #a78f5d;border-radius:3px;background:#244438;color:#f5ead0;font-size:13px;font-weight:600;line-height:1.6;text-align:center;text-decoration:none;overflow-wrap:anywhere}.of-theme .of-rules-pool-button:hover{background:#365c49;border-color:#c6ac75;color:#fff}.of-theme .of-rules-pool-button:focus-visible{outline:2px solid #96743a;outline-offset:3px}
.of-banned-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,190px));gap:22px 16px;margin:20px 0}.of-banned-card{margin:0;min-width:0}.of-banned-card img{display:block;width:100%;height:auto;aspect-ratio:757/1054;object-fit:contain;border-radius:4.5%}.of-banned-card figcaption{text-align:center;font-size:13px;font-weight:600;color:#244438;margin-top:8px}.of-banned-reason{font-size:11px;line-height:1.6;margin-top:6px}.of-banned-image-missing{aspect-ratio:757/1054;display:grid;place-items:center;background:#e8e0cf}@media(max-width:600px){.of-banned-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}}
.of-banned-finish{display:inline-flex;gap:10px;align-items:center;margin-top:8px;color:#244438;font-size:12px;font-weight:600}.of-banned-finish select{padding:7px 12px;background:#244438;color:#f5ead0;border:1px solid #a78f5d;border-radius:3px}
.of-format-rules a:not(.of-rules-pool-button){color:#315d47;text-decoration:underline;text-decoration-color:#b49c69;text-underline-offset:3px;overflow-wrap:anywhere}.of-format-rules a.of-rules-source{display:inline-flex;align-items:center;gap:6px;box-sizing:border-box;max-width:100%;padding:5px 9px;margin:4px 3px;border:1px solid #baa578;border-radius:3px;background:#eee7d6;color:#284c39;font-size:12px;font-weight:600;line-height:1.6;text-decoration:none}.of-format-rules a.of-rules-source::after{content:"\2197";flex-shrink:0;color:#806739}.of-format-rules a.of-rules-source:hover{background:#244438;border-color:#244438;color:#fff4d9}.of-format-rules a.of-rules-source:hover::after{color:#e0c995}.of-format-rules a:focus-visible{outline:2px solid #96743a;outline-offset:3px}

/* Shared fixed page navigation; the mobile builder has its own controls. */
.of-back-to-top{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:1100;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #c1a165;border-radius:4px;background:#203c34;color:#f5e9ce;box-shadow:0 3px 12px #10251f40;font:26px/1 Georgia,serif;cursor:pointer}
.of-back-to-top:hover{background:#365a46;color:#fff}
.of-theme .of-active-event-banner{background:#a7193d;color:#fff4df;border-bottom:1px solid #c1a165;width:100%;box-sizing:border-box}
.of-active-event-banner-inner{max-width:1280px;margin:auto;padding:9px 24px;display:flex;align-items:center;gap:8px 22px;flex-wrap:wrap;box-sizing:border-box;font-size:13px}
.of-active-event-label{display:inline-flex;align-items:center;gap:8px;font-weight:700;flex-shrink:0}
.event-timer{font-variant-numeric:tabular-nums;font-weight:700;white-space:nowrap}
.deck-note-symbol{margin:0 1px;font-size:.95em;vertical-align:baseline}
.event-timer-controls>output{display:block;font-size:32px;margin:12px 0;color:#244438}
.event-timer-controls form{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.event-timer-controls input[type=number]{width:90px;padding:8px}
.event-timer-controls button:disabled{opacity:.45;cursor:default}
.event-timer-controls p{font-size:12px;line-height:1.7}
.of-theme .of-active-event-banner a{display:flex;align-items:center;gap:12px;min-width:0;color:#fff4df;text-decoration:none;font-weight:600}
.of-active-event-banner a span{overflow-wrap:anywhere}
.of-theme .of-active-event-banner a:hover{color:#fff;text-decoration:underline}
@media(max-width:767px){body:has(#card-workspace.cw-builder) .of-active-event-banner{display:none}.of-active-event-banner-inner{padding:8px 16px;gap:5px 14px;font-size:12px}}
@media(max-width:767px){body:has(#card-workspace.cw-builder) .of-back-to-top{display:none}}

/* Account menu: icon rail first, labels second; reverse when closing. */
.of-theme .site-header{position:relative}
.of-theme .mobile-header{position:relative!important}
/* Keep the whole navigation layer above legacy card controls and page headers. */
.of-theme .site-header,.of-theme .mobile-header{z-index:3000000!important;isolation:isolate;overflow:visible!important}
.of-theme .toolbar{z-index:2999999!important}
.of-theme .mobile-nav-menu{z-index:3000001!important}
.of-theme .site-header-inner,.of-theme .site-header-nav,.of-theme .site-header-user{overflow:visible!important}
.of-theme .site-header-user{position:relative!important}
.of-theme #user-dropdown-menu{display:block!important;position:absolute!important;top:100%;right:0;left:auto;width:224px;padding:0;margin:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible;visibility:hidden;transform:scaleY(0);transform-origin:top right;transition:transform .2s ease .2s,visibility 0s .4s;pointer-events:none}
.of-theme #user-dropdown-menu.show{visibility:visible;transform:scaleY(1);transition:transform .2s ease,visibility 0s;pointer-events:auto}
.of-theme #user-dropdown-menu .user-menu-list{list-style:none;margin:0;padding:0}
.of-theme #user-dropdown-menu li{margin:0;padding:0;border:0}
.of-theme #user-dropdown-menu a{position:relative;display:flex;flex-direction:row-reverse;align-items:center;justify-content:flex-start;height:44px;padding:0;margin:0;color:#f5e9ce!important;background:transparent;border:0;text-decoration:none;font-size:13px;white-space:nowrap}
.of-theme #user-dropdown-menu a>i{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;box-sizing:border-box;margin:0;font-size:19px;background:#244438;border:1px solid #ac925c;border-top:0;z-index:1}
.of-theme #user-dropdown-menu a>span{display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;height:44px;width:180px;padding:0 16px;background:#244438;border:1px solid #ac925c;border-top:0;border-right:0;clip-path:inset(0 0 0 100%);transition:clip-path .2s ease}
.of-theme #user-dropdown-menu.show a>span{clip-path:inset(0);transition-delay:.2s}
.of-theme #user-dropdown-menu a:hover>*,.of-theme #user-dropdown-menu a:focus-visible>*{background:#365c49;color:#fff}
@media(prefers-reduced-motion:reduce){.of-theme #user-dropdown-menu,.of-theme #user-dropdown-menu a>span{transition:none!important}}
.of-theme a.of-event-tile{display:block;width:100%;min-width:0;box-sizing:border-box;overflow:hidden;border:1px solid #b9a577;border-radius:5px;background:#f8f4e9;color:#244438;text-decoration:none;box-shadow:0 4px 15px #203c3414;transition:border-color .2s,box-shadow .2s}
.of-theme a.of-event-tile:hover{border-color:#826c3f;box-shadow:0 5px 18px #203c3426;color:#244438}
.of-event-tile-art{position:relative;height:145px;overflow:hidden;background:#203c34}
.of-event-tile-art img{display:block;width:100%;height:100%;object-fit:cover}.of-event-tile-art img.is-past{filter:grayscale(1)}
.of-event-tile-format{position:absolute;left:0;top:0;max-width:100%;box-sizing:border-box;padding:7px 20px 7px 12px;background:#244438;color:#f5e9ce;font-size:11px;font-weight:600;clip-path:polygon(0 0,100% 0,calc(100% - 10px) 100%,0 100%)}
.of-event-tile-status{position:absolute;right:8px;bottom:8px;padding:4px 9px;border:1px solid #c5b180;background:#f8f4e9;color:#244438;font-size:11px;border-radius:3px}.of-event-tile-status.is-active{background:#a7193d;color:white;border-color:#d9a9ab}
.of-event-tile-body{padding:14px 16px;display:grid;gap:8px;min-height:72px}.of-theme .of-event-tile-body h3{margin:0;padding:0;border:0;background:none;font:600 16px/1.5 var(--of-serif);color:#244438;overflow-wrap:anywhere}.of-event-tile-body time,.of-event-tile-body p{font-size:12px;line-height:1.5;color:#65705b;margin:0}.of-event-tile-body i{margin-right:5px;color:#927645}
