/* Euonia Blind Date 1.3 — pearl, lavender and sunlit gold. Scoped to the game. */
.ebd-wrap{--ebd-purple:#6233a5;--ebd-ink:#34234f;--ebd-muted:#746782;--ebd-gold:#bf913c;--ebd-line:#e4d8bb;--ebd-display:Georgia,'Palatino Linotype',serif;max-width:1160px;margin:0 auto 3rem;padding:1.5rem 1.5rem 2rem;border:1px solid #e6dcc5;border-radius:28px;background:radial-gradient(ellipse at 12% 0%,#ede6ff 0,transparent 42%),radial-gradient(ellipse at 96% 28%,#fff1d5 0,transparent 45%),linear-gradient(140deg,#faf7ff,#fffaf2 65%,#f5f0ff);color:var(--ebd-ink);font-family:system-ui,-apple-system,'Segoe UI',sans-serif;line-height:1.6;box-sizing:border-box;box-shadow:0 12px 42px #593b8110;overflow:hidden}
.ebd-wrap *,.ebd-wrap *::before,.ebd-wrap *::after{box-sizing:border-box}
.ebd-wrap h1,.ebd-wrap h2,.ebd-wrap h3,.ebd-wrap h4{color:var(--ebd-ink);line-height:1.25}
.ebd-wrap a{color:var(--ebd-purple)}
.ebd-wrap p{margin:0 0 1rem}
.ebd-wrap :is(button,a,summary,textarea):focus-visible{outline:3px solid #7e4bcc;outline-offset:4px}
.ebd-wrap button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}
.ebd-hero{display:grid;grid-template-columns:.95fr 1.05fr;align-items:center;gap:1rem;padding:1.5rem 1.5rem .5rem;position:relative}
.ebd-hero__copy{position:relative;z-index:1}
.ebd-wrap .ebd-brand__kicker{font-size:.7rem;font-weight:800;letter-spacing:.2em;text-transform:uppercase;color:#8b672b;margin:0 0 .8rem}
.ebd-hero h1{font-family:var(--ebd-display);font-size:clamp(2.3rem,4.5vw,3.7rem);font-weight:600;line-height:1.07;margin:0 0 1.1rem;letter-spacing:-.035em}
.ebd-hero h1 em{color:#8053b4;font-weight:500}
.ebd-hero__tagline{max-width:30rem;font-size:1rem;color:#6a5a78}
.ebd-free-pill{display:inline-flex;align-items:center;gap:.45rem;border:1px solid #deca96;border-radius:99px;background:linear-gradient(110deg,#fffdf4,#f8eed9);padding:.4rem .85rem;color:#796028;font-weight:700;font-size:.8rem}
.ebd-wrap .ebd-hero__steps{margin-top:.8rem;color:#82718e;font-size:.78rem;letter-spacing:.02em}
.ebd-hero__art img{display:block;width:100%;height:auto;max-height:370px;object-fit:contain;filter:drop-shadow(0 10px 18px #8f6bb41a)}
.ebd-brand{text-align:center;padding:1rem 0 1.4rem}
.ebd-brand__title{font-family:var(--ebd-display);font-style:normal;font-weight:600;font-size:clamp(2rem,4vw,2.8rem);margin:.25rem 0 .65rem}
.ebd-brand__tagline{max-width:38rem;margin:0 auto!important;color:var(--ebd-muted)}
.ebd-nav{margin:1.3rem 0 1.5rem}
.ebd-nav__list{list-style:none!important;display:flex;align-items:center;justify-content:center;gap:.35rem;flex-wrap:wrap;margin:0!important;padding:.55rem!important;border:1px solid #e3d8c3;border-radius:99px;background:linear-gradient(110deg,#fffef9ed,#f7f0ffed);box-shadow:0 3px 15px #5c32770b}
.ebd-nav__list li{margin:0!important;padding:0!important}
.ebd-nav__link{display:block;text-decoration:none!important;font-size:.85rem;font-weight:700;border-radius:99px;padding:.5rem 1rem;color:#776682!important}
.ebd-nav__link:hover{background:#eee4fa}
.ebd-nav__link.is-active{color:#fff!important;background:linear-gradient(135deg,#8456c4,#5d2e96);box-shadow:0 4px 12px #7941a92b}
.ebd-nav__hi{display:flex;align-items:center;gap:.4rem;padding:.3rem .7rem .3rem .35rem;text-decoration:none!important;background:#fff9e8;border:1px solid #e6d3aa;border-radius:99px;font-size:.8rem;color:#786039!important}
.ebd-nav__hi--guest{padding:.5rem .8rem}
.ebd-nav__avatar-img{display:block;width:27px;height:27px;object-fit:cover;border-radius:50%;border:1px solid #c49b4c}
.ebd-nav__hi-text{max-width:10rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ebd-home-layout{display:grid;gap:2rem;grid-template-columns:minmax(0,1fr)}
.ebd-home-layout__mystery{min-width:0;scroll-margin-top:190px}
.ebd-mystery{padding:1.6rem 1.6rem 1.7rem;border:1px solid var(--ebd-line);border-radius:22px;background:#ffffffed;box-shadow:0 10px 30px #4937680a;position:relative}
.ebd-eyebrow{font-size:.68rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:#94712f!important;margin:0 0 .6rem!important}
.ebd-mystery__title{font-family:var(--ebd-display);font-size:clamp(1.6rem,3vw,2.1rem);font-weight:500;margin:0 0 .7rem}
.ebd-date>h2{font-family:var(--ebd-display);font-size:1.85rem;margin:.6rem 0}
.ebd-mystery__art{display:flex;justify-content:center;align-items:center;margin:0 auto 1rem;max-width:250px}
.ebd-mystery__art svg,.ebd-date-intro>div>svg{display:block;width:100%;height:auto;max-width:230px;max-height:280px;margin:0 auto}
.ebd-date> .ebd-mystery__art{max-width:170px;float:right;margin:0 1.5rem 0 1rem}
.ebd-date::after{content:'';display:table;clear:both}
.ebd-date-progress{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0 1.7rem}
.ebd-date-progress span{padding:.35rem .75rem;border:1px solid #e5dced;border-radius:99px;font-size:.74rem;color:#897c92;background:#fbf9fd}
.ebd-date-progress .is-done{background:linear-gradient(110deg,#f4edfc,#fff6df);border-color:#d9c492;color:#775427}
.ebd-date-intro{display:grid;grid-template-columns:minmax(160px,.65fr) minmax(0,1.35fr);align-items:start;gap:2rem}
.ebd-date-intro h3,.ebd-book-section h3{font-size:1.12rem;margin:.2rem 0 .8rem;font-weight:700}
.ebd-date-intro p{color:#776781}
.ebd-wrap .ebd-clues{display:flex;gap:.5rem;flex-wrap:wrap;list-style:none!important;padding:0!important;margin:.5rem 0 1rem!important;justify-content:flex-start}
.ebd-wrap .ebd-clues li{margin:0!important}
.ebd-clue-pill{display:inline-flex;gap:.4rem;align-items:center;border:1px solid #e5d8bd;background:linear-gradient(120deg,#fffbf1,#f4eefc);border-radius:99px;padding:.35rem .75rem;font-size:.82rem;font-weight:600;color:#67507c;box-shadow:0 2px 5px #a28c5a09}
.ebd-clue-pill__icon{font-size:.9rem}
.ebd-wrap .ebd-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin:1rem 0;align-items:center;justify-content:flex-start}
.ebd-wrap .ebd-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.7rem 1.2rem;border:1px solid #cab5e3;border-radius:99px;color:#64408c;background:#f8f3ff;font-family:inherit;font-size:.85rem;font-weight:700;line-height:1.4;letter-spacing:0;text-transform:none;text-decoration:none!important;cursor:pointer;white-space:normal;text-align:center;box-shadow:0 3px 10px #6246810a;transition:background .16s,box-shadow .16s;max-width:100%}
.ebd-wrap .ebd-btn:hover:not(:disabled){background:#eee3fa;color:#4b277a;box-shadow:0 4px 15px #67399516}
.ebd-wrap .ebd-btn--primary{color:#fff;background:linear-gradient(135deg,#8354c2,#5c299a);border-color:#7040ad;box-shadow:0 5px 16px #7847ad25}
.ebd-wrap .ebd-btn--primary:hover:not(:disabled){color:#fff;background:linear-gradient(135deg,#7445b3,#4b2084)}
.ebd-wrap .ebd-btn--swap{background:#fff8e8;color:#84632d;border-color:#ddc58d}
.ebd-wrap .ebd-btn.is-selected{background:linear-gradient(135deg,#efe2ff,#e8d4fa);color:#542980;border:2px solid #8254b6;padding:calc(.7rem - 1px) calc(1.2rem - 1px)}
.ebd-hint,.ebd-guest-note{font-size:.78rem!important;color:#81728c!important;line-height:1.65}
.ebd-guest-note{margin:1rem .5rem 0!important;text-align:center}
.ebd-date .ebd-reveal-cover{display:block;width:auto;height:auto;max-width:100%;max-height:380px;border-radius:8px;margin:0 auto;box-shadow:7px 9px 24px #35234425}
.ebd-reveal-author{font-family:var(--ebd-display);font-style:italic;font-size:1.15rem;color:#785899!important}
.ebd-book-facts{display:flex;gap:1.5rem;flex-wrap:wrap;margin:1.2rem 0}
.ebd-book-facts dt{font-size:.75rem;font-weight:700;color:#87724b}
.ebd-book-facts dd{margin:.15rem 0 0;color:#51415f;font-size:.95rem}
.ebd-book-section{margin-top:1.5rem;padding-top:1.3rem;border-top:1px solid #eee5d4}
.ebd-book-description{font-size:.95rem;color:#6d6178;overflow-wrap:anywhere}
.ebd-book-description img{max-width:100%;height:auto}
.ebd-book-description table{display:block;max-width:100%;overflow-x:auto}
.ebd-characters{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:1rem}
.ebd-characters article{border:1px solid #e5d8bd;border-radius:15px;background:linear-gradient(140deg,#fcf9ff,#fffaf0);padding:1rem;overflow-wrap:anywhere}
.ebd-characters h4{font-family:var(--ebd-display);font-size:1.3rem;margin:.5rem 0}
.ebd-characters img{width:75px;height:75px;border:2px solid #dbc28d;border-radius:50%;object-fit:cover}
.ebd-trailer{width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:14px;background:#f1e9fa}
.ebd-reaction-summary{display:grid;grid-template-columns:1fr 1fr;border:1px solid #ddd0eb;border-radius:15px;overflow:hidden;margin:1.5rem 0}
.ebd-reaction-summary>div{display:grid;gap:.3rem;padding:1rem 1.2rem;background:linear-gradient(110deg,#f5efff,#fcf9ff)}
.ebd-reaction-summary>div+div{border-left:1px solid #e3d6e9;background:linear-gradient(110deg,#fff8e8,#fffdf7)}
.ebd-reaction-summary span{font-size:.74rem;color:#8a7795}
.ebd-reaction-summary strong{font-size:1.1rem;color:#61427d}
.ebd-reaction-summary>div+div strong{color:#8b6425}
.ebd-share{padding:1rem 1.2rem;border:1px solid #dfcda1;border-radius:15px;background:linear-gradient(110deg,#fffdf7,#faf6ff)}
.ebd-share summary{font-weight:700;color:#6e458f;cursor:pointer;min-height:26px;font-size:.93rem}
.ebd-share[open] summary{margin-bottom:1rem}
.ebd-share label{display:block;font-size:.85rem;font-weight:600}
.ebd-share textarea{width:100%;display:block;margin:.5rem 0 1rem;padding:.8rem;border:1px solid #d5c4e5;border-radius:10px;background:#fff;color:#493454;font:inherit;resize:vertical}
.ebd-share-preview{white-space:pre-wrap;overflow-wrap:anywhere;max-height:340px;overflow-y:auto;padding:1rem;border-radius:10px;background:#f3ecfb;color:#634b74;font:.85rem/1.7 system-ui,sans-serif}
.ebd-next{text-align:center;margin-top:1.5rem}
.ebd-next .ebd-hint{margin-top:.65rem}
.ebd-feedback,.ebd-notice{padding:.75rem 1rem;margin:0 0 1rem;border-radius:12px;background:#f1f7f0;color:#446440;font-size:.88rem}
.ebd-feedback:empty{display:none}
.ebd-feedback.is-error,.ebd-notice--error{color:#8f3a42;background:#fff1ed}
.ebd-section-head{text-align:center;margin-bottom:1rem}
.ebd-section-head h2{font-family:var(--ebd-display);font-size:1.8rem;margin:0 0 .5rem}
.ebd-section-head h2::before,.ebd-section-head h2::after{content:'✦';font-size:.8rem;color:#c49a47;vertical-align:middle;margin:0 .7rem}
.ebd-section-head p{font-size:.9rem;color:#887293}
.ebd-empty{text-align:center;padding:1.5rem;color:#8b7a93;font-size:.95rem;font-style:italic}
.ebd-shelf__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:1rem}
.ebd-shelf-card{position:relative;text-align:center;padding:1.2rem;border:1px solid #e4d5b8;border-radius:18px;background:linear-gradient(135deg,#fffdf5,#f6efff);box-shadow:0 5px 20px #74558b0c}
.ebd-shelf-card__sticker{position:absolute;right:1rem;top:.5rem;color:#b18c4a;font-size:1.5rem}
.ebd-shelf-card__art{width:100px;margin:0 auto}
.ebd-shelf-card__art svg{display:block;width:100%;height:auto}
.ebd-shelf-card__title{font-family:var(--ebd-display);font-size:1.25rem;margin:.4rem 0}
.ebd-shelf-card__meta{font-size:.75rem;color:#928399}
.ebd-shelf-card .ebd-clues{justify-content:center}
.ebd-like-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .75rem;border:1px solid #d6c1e9;border-radius:99px;background:white;color:#8e6ba5;cursor:pointer}
.ebd-like-btn.is-liked{background:#ecdfff;color:#6d349d}
.ebd-history{list-style:none!important;margin:1rem 0!important;padding:0!important;display:grid;gap:1rem}
.ebd-history__item{display:grid;grid-template-columns:90px minmax(0,1fr);gap:1.2rem;border:1px solid #e6d7b8;background:#fffdfcf2;border-radius:20px;padding:1.25rem}
.ebd-history__art svg,.ebd-history__cover{width:100%;height:auto;border-radius:7px}
.ebd-history__body h2{font-family:var(--ebd-display);font-size:1.5rem;margin:0 0 .55rem}
.ebd-history__body>p{font-size:.8rem;color:#8c7e94}
.ebd-badge{display:inline-block;border-radius:99px;padding:.2rem .6rem;background:#eee4fa;color:#7b54a0!important;text-transform:uppercase;font-size:.65rem!important;font-weight:700;letter-spacing:.08em}
.ebd-pagination{display:flex;justify-content:center;gap:1rem;margin:1.5rem 0}
.ebd-about-card{display:grid;grid-template-columns:.8fr 1.2fr;gap:2rem;padding:1.5rem;border:1px solid #dfcfac;border-radius:22px;background:#ffffffb8}
.ebd-about-card__art img,.ebd-about-card__art svg{display:block;width:100%;height:auto;position:sticky;top:190px}
.ebd-about-card__copy h2{font-family:var(--ebd-display);font-size:1.7rem;margin:0 0 1rem}
.ebd-about-steps{padding-left:1.2rem;margin:0 0 1rem}
.ebd-about-steps li{margin:0 0 .8rem;padding-left:.3rem}
.ebd-about-steps li::marker{color:#b08a43;font-weight:700}
.ebd-footer{text-align:center;font-size:.72rem;color:#9a88a4;margin-top:1.7rem;border-top:1px solid #e6dabb;padding-top:1rem}
.ebd-footer p{margin:.2rem}
@media(max-width:720px){.ebd-wrap{padding:1rem .85rem 1.5rem;border-radius:20px}.ebd-hero{grid-template-columns:1fr;text-align:center;padding:.75rem .5rem 0;gap:0}.ebd-hero__tagline{margin-left:auto!important;margin-right:auto!important}.ebd-hero h1{font-size:2.75rem}.ebd-hero__art{max-width:420px;margin:0 auto}.ebd-hero__art img{max-height:270px}.ebd-nav{margin:1rem 0}.ebd-nav__list{border-radius:18px;gap:.2rem}.ebd-nav__link{padding:.45rem .65rem;font-size:.78rem}.ebd-nav__profile{width:100%}.ebd-nav__hi{width:max-content;margin:.25rem auto 0}.ebd-mystery{padding:1.1rem}.ebd-date-intro,.ebd-about-card{grid-template-columns:1fr;gap:1rem}.ebd-mystery__art{max-width:180px}.ebd-date>.ebd-mystery__art{float:none;margin:0 auto .5rem;max-width:140px}.ebd-date-progress{gap:.35rem}.ebd-date-progress span{font-size:.65rem;padding:.3rem .5rem}.ebd-wrap .ebd-actions .ebd-btn{flex:1 1 auto}.ebd-date .ebd-reveal-cover{max-height:300px}.ebd-reaction-summary>div{padding:.85rem}.ebd-reaction-summary strong{font-size:.95rem}.ebd-history__item{grid-template-columns:55px minmax(0,1fr);gap:.7rem;padding:1rem}.ebd-history__body h2{font-size:1.25rem}.ebd-about-card__art{max-width:300px;margin:auto}.ebd-guest-note{font-size:.72rem!important}.ebd-home-layout__mystery{scroll-margin-top:100px}}
@media(prefers-reduced-motion:reduce){.ebd-wrap *{animation:none!important;transition:none!important}}

/* 1.3.1: one-screen introduction and play, with optional book-detail tabs. */
.ebd-wrap [hidden]{display:none!important}
.ebd-wrap--home,.ebd-wrap--guide{height:var(--ebd-frame-height,auto);padding:18px 22px;margin-bottom:16px;display:flex;flex-direction:column;gap:12px}
.ebd-app-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}
.ebd-app-heading h1{font:600 clamp(22px,2.2vw,30px)/1.15 var(--ebd-display);margin:0}
.ebd-app-heading h1 em{color:#8053b4;font-weight:500}
.ebd-app-heading>span{font-size:10px;text-transform:uppercase;letter-spacing:.13em;color:#94712f;font-weight:700}
.ebd-wrap--home .ebd-nav,.ebd-wrap--guide .ebd-nav{margin:0;flex-shrink:0}
.ebd-wrap--home .ebd-nav__list,.ebd-wrap--guide .ebd-nav__list{padding:5px!important}
.ebd-wrap--home .ebd-nav__link,.ebd-wrap--guide .ebd-nav__link{padding:7px 16px;font-size:13px}
.ebd-screen{min-height:0;flex:1}
.ebd-intro{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:22px;padding:16px 20px;min-height:0}
.ebd-intro__copy{min-width:0}
.ebd-intro h2{font:500 clamp(24px,2.8vw,36px)/1.14 var(--ebd-display);margin:0 0 12px;letter-spacing:-.025em}
.ebd-intro__lead{max-width:520px;font-size:14px;line-height:1.65;color:#756581;margin-bottom:16px!important}
.ebd-intro h3{font-size:15px;font-weight:750;margin:0 0 10px}
.ebd-howto{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;padding:0!important;margin:0 0 20px!important;list-style:none!important}
.ebd-howto li{display:flex;align-items:flex-start;gap:9px;margin:0!important;padding:0!important;font-size:12px}
.ebd-howto li>span{display:grid;place-items:center;flex:none;width:27px;height:27px;border:1px solid #d9c590;border-radius:50%;background:#fff8e7;color:#987238;font:600 15px var(--ebd-display)}
.ebd-howto strong{display:block;font-size:12px;color:#55366f;margin:1px 0 3px}
.ebd-howto p{font-size:12px;color:#82738b;line-height:1.5;margin:0!important}
.ebd-intro__note{font-size:11px;color:#8c7a96;margin:8px 0 0!important}
.ebd-intro__art{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0}
.ebd-intro__art img{display:block;width:100%;height:auto;max-height:370px;object-fit:contain}
.ebd-play{display:flex;flex-direction:column;position:relative}
.ebd-play>[data-ebd-date-host]{flex:1;min-height:0;display:flex}
.ebd-wrap--home .ebd-mystery{padding:18px 20px;flex:1;min-height:0;display:flex;flex-direction:column;gap:14px;border-radius:18px;overflow:hidden}
.ebd-wrap--home .ebd-date::after{display:none}
.ebd-date-empty{margin:auto;text-align:center}
.ebd-date-empty h2{font:500 28px/1.2 var(--ebd-display);margin:6px 0 10px}
.ebd-date-empty p{font-size:14px;color:#82718e}
.ebd-date-empty .ebd-mystery__art{max-height:180px;margin:0 auto 8px;float:none}
.ebd-date-empty .ebd-mystery__art svg{max-height:170px}
.ebd-date-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-shrink:0}
.ebd-wrap--home .ebd-mystery__title{font-size:clamp(21px,2.1vw,29px);margin:0;line-height:1.15;overflow-wrap:anywhere}
.ebd-wrap--home .ebd-eyebrow{font-size:9px;margin-bottom:5px!important}
.ebd-date-progress{list-style:none!important;display:flex;gap:4px;margin:0!important;padding:0!important;flex-wrap:wrap;justify-content:flex-end;max-width:390px;flex-shrink:0}
.ebd-date-progress li{font-size:10px;margin:0!important;padding:4px 8px;border:1px solid #e4d9ed;border-radius:30px;color:#95889c;background:#fcfaff;white-space:nowrap}
.ebd-date-board{flex:1;min-height:0;display:grid;grid-template-columns:minmax(110px,.6fr) minmax(0,1.4fr);gap:28px;align-items:center}
.ebd-date-board>.ebd-mystery__art{width:100%;max-width:200px;min-height:0;max-height:100%;margin:auto;float:none}
.ebd-date-board>.ebd-mystery__art svg{max-height:220px;height:100%;width:100%}
.ebd-clue-story{min-height:0;overflow:auto;padding:4px}
.ebd-clue-story h3{font-size:16px;margin:0 0 9px}
.ebd-clue-story>p{font-size:13px;margin:8px 0 18px;color:#897a92}
.ebd-wrap--home .ebd-clues{gap:6px;margin:6px 0 12px!important}
.ebd-wrap--home .ebd-clue-pill{font-size:12px;padding:5px 10px}
.ebd-wrap--home .ebd-actions{gap:8px;margin:8px 0}
.ebd-wrap--home .ebd-btn{font-size:12px;min-height:40px;padding:9px 16px;flex:none}
.ebd-wrap--home .ebd-btn.is-selected{padding:8px 15px}
.ebd-wrap--home .ebd-hint{font-size:11px!important;margin:4px 0!important}
.ebd-book-board{grid-template-columns:minmax(100px,.5fr) minmax(0,1.5fr);align-items:stretch}
.ebd-book-portrait{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;gap:10px}
.ebd-date .ebd-reveal-cover{max-height:min(270px,100% - 35px);max-width:100%;object-fit:contain;min-height:0;flex:0 1 auto}
.ebd-book-portrait>svg{width:100%;max-height:200px}
.ebd-book-link{font-size:12px;font-weight:700;white-space:nowrap;flex-shrink:0}
.ebd-book-browser{min-width:0;min-height:0;display:flex;flex-direction:column}
.ebd-book-tabs{display:flex;flex-wrap:wrap;gap:5px;padding-bottom:8px;border-bottom:1px solid #eadff0;flex-shrink:0}
.ebd-book-tabs button{appearance:none;padding:7px 13px;min-height:36px;font:600 12px/1.2 system-ui,sans-serif;text-transform:none;letter-spacing:0;border:1px solid transparent;border-radius:25px;color:#887296;background:transparent;cursor:pointer}
.ebd-book-tabs button[aria-selected=true]{color:#68418d;border-color:#deceef;background:#f0e7fc}
.ebd-book-panel{min-height:0;overflow:auto;overscroll-behavior:contain;padding:12px 8px 4px 0;flex:1;scrollbar-width:thin;scrollbar-color:#d5bce5 transparent}
.ebd-book-panel h3{font-size:13px;margin:0 0 7px}
.ebd-book-panel .ebd-reveal-author{font-size:15px;line-height:1.4;margin:0 0 12px}
.ebd-book-panel .ebd-book-facts{gap:14px;margin:10px 0}
.ebd-book-panel .ebd-book-facts dd{font-size:12px}
.ebd-book-panel .ebd-book-description{font-size:13px;line-height:1.65}
.ebd-book-panel .ebd-characters article{padding:10px;font-size:12px}
.ebd-book-panel .ebd-characters h4{font-size:18px}
.ebd-book-panel .ebd-trailer{max-height:260px}
.ebd-date-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;border-top:1px solid #eee3d1;padding-top:12px;flex-shrink:0}
.ebd-wrap--home .ebd-reaction-summary{display:flex;margin:0;border:none;border-radius:10px;gap:2px;flex-shrink:0}
.ebd-wrap--home .ebd-reaction-summary>div{padding:6px 12px;min-width:100px;gap:1px;border:none}
.ebd-wrap--home .ebd-reaction-summary span{font-size:10px}
.ebd-wrap--home .ebd-reaction-summary strong{font-size:12px}
.ebd-after-reaction>span{font-size:11px;color:#8a7594}
.ebd-wrap--home .ebd-after-reaction .ebd-actions{margin:4px 0 0}
.ebd-wrap--home .ebd-after-reaction .ebd-btn{min-height:34px;padding:7px 12px;font-size:11px}
.ebd-wrap--home .ebd-after-reaction .ebd-btn.is-selected{padding:6px 11px}
.ebd-date-buttons{margin-left:auto;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
.ebd-cooldown{width:100%;text-align:right}
.ebd-wrap--home .ebd-app-feedback{flex:none;padding:6px 10px;margin:0;font-size:11px;line-height:1.4;min-height:0}
.ebd-wrap dialog.ebd-share{position:fixed;inset:0;margin:auto;width:min(580px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:22px;overflow:auto;color:var(--ebd-ink);box-shadow:0 20px 80px #30203d4d}
.ebd-wrap dialog.ebd-share:not([open]){display:none}
.ebd-share::backdrop{background:#25103766;backdrop-filter:blur(3px)}
.ebd-share__heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:12px}
.ebd-share__heading h3{margin:0;font:500 25px var(--ebd-display)}
.ebd-share p{font-size:13px}
.ebd-share .ebd-share-preview{max-height:180px;font-size:12px}
@media(max-height:800px) and (min-width:721px){.ebd-wrap--home,.ebd-wrap--guide{gap:8px;padding:12px 18px}.ebd-intro{padding:8px 10px;gap:18px}.ebd-intro h2{font-size:27px;margin-bottom:8px}.ebd-intro__lead{font-size:12px;line-height:1.5;margin-bottom:10px!important}.ebd-howto{gap:9px 14px;margin-bottom:12px!important}.ebd-howto p{font-size:11px}.ebd-wrap--home .ebd-mystery{gap:10px;padding:14px 16px}.ebd-date-progress{max-width:310px}.ebd-date-progress li{font-size:9px;padding:3px 6px}.ebd-date-controls{padding-top:8px}.ebd-clue-story>p{margin-bottom:12px}}
@media(max-width:720px){.ebd-wrap--home,.ebd-wrap--guide{padding:12px;gap:8px;border-radius:16px}.ebd-app-heading h1{font-size:22px}.ebd-app-heading>span{display:none}.ebd-wrap--home .ebd-nav__list,.ebd-wrap--guide .ebd-nav__list{flex-wrap:nowrap;gap:0;border-radius:25px}.ebd-wrap--home .ebd-nav__link,.ebd-wrap--guide .ebd-nav__link{font-size:11px;padding:7px 10px}.ebd-wrap--home .ebd-nav__profile,.ebd-wrap--guide .ebd-nav__profile{display:none}.ebd-intro{grid-template-columns:1fr;gap:0;padding:8px;position:relative;align-items:center}.ebd-intro__art{position:absolute;right:3px;top:3px;width:115px;pointer-events:none}.ebd-intro h2{font-size:25px;padding-right:96px;min-height:85px;margin-bottom:8px}.ebd-intro h2 br{display:none}.ebd-intro__lead{font-size:12px;line-height:1.5;margin-bottom:14px!important}.ebd-howto{gap:12px 10px;margin-bottom:16px!important}.ebd-howto strong{font-size:11px}.ebd-howto p{font-size:11px}.ebd-howto li>span{width:23px;height:23px;font-size:13px}.ebd-intro__note{font-size:10px}.ebd-wrap--home .ebd-mystery{padding:12px;gap:12px}.ebd-date-heading{display:block}.ebd-wrap--home .ebd-mystery__title{font-size:21px}.ebd-date-progress{max-width:none;justify-content:flex-start;margin-top:8px!important;gap:4px}.ebd-date-progress li{font-size:8px;padding:3px 6px}.ebd-date-board{grid-template-columns:75px minmax(0,1fr);gap:10px}.ebd-date-board>.ebd-mystery__art{max-width:75px}.ebd-date-board>.ebd-mystery__art svg{max-height:145px}.ebd-clue-story h3{font-size:14px}.ebd-clue-story>p{font-size:11px;margin-bottom:12px}.ebd-wrap--home .ebd-clue-pill{font-size:10px;padding:4px 7px}.ebd-wrap--home .ebd-clues{gap:4px}.ebd-wrap--home .ebd-btn{font-size:11px;padding:8px 12px;min-height:38px}.ebd-wrap--home .ebd-btn.is-selected{padding:7px 11px}.ebd-book-board{grid-template-columns:65px minmax(0,1fr)}.ebd-book-portrait{justify-content:flex-start;padding-top:8px}.ebd-date .ebd-reveal-cover{max-height:145px;max-width:65px}.ebd-book-link{font-size:10px}.ebd-book-tabs{gap:0;padding-bottom:6px}.ebd-book-tabs button{font-size:10px;padding:6px 7px;min-height:32px}.ebd-book-panel{padding-top:9px}.ebd-book-panel .ebd-reveal-author{font-size:12px}.ebd-book-panel .ebd-book-description{font-size:12px}.ebd-book-panel h3{font-size:12px}.ebd-book-panel .ebd-book-facts{gap:10px}.ebd-book-panel .ebd-book-facts dd{font-size:11px}.ebd-date-controls{gap:8px;padding-top:8px}.ebd-wrap--home .ebd-reaction-summary{width:100%}.ebd-wrap--home .ebd-reaction-summary>div{flex:1;min-width:0;padding:5px 10px}.ebd-after-reaction{display:flex;align-items:center;gap:8px;width:100%;justify-content:space-between}.ebd-after-reaction>span{font-size:10px}.ebd-wrap--home .ebd-after-reaction .ebd-actions{margin:0;gap:5px}.ebd-date-buttons{width:100%;justify-content:flex-start;margin:0}.ebd-date-buttons .ebd-btn{flex:1}.ebd-wrap--home .ebd-hint{font-size:10px!important}.ebd-cooldown{text-align:left}.ebd-wrap--home .ebd-app-feedback{font-size:10px;padding:5px 8px}.ebd-wrap dialog.ebd-share{padding:16px}}
@media(max-height:600px){.ebd-wrap--home,.ebd-wrap--guide{height:auto!important}.ebd-screen{flex:auto}.ebd-date-board{min-height:220px}.ebd-book-panel{max-height:260px}.ebd-intro{padding-top:12px;padding-bottom:12px}}

/* ——— 2.1.0: 9-clue progressive reveal (extends live 1.3.2 tokens) ——— */
.ebd-date-progress{max-width:560px}
/* Full-width card on every slide: whatever sits in the date host (card or preview slide panel) fills the wrapper. */
.ebd-play>[data-ebd-date-host]>*{flex:1 1 auto;width:100%;min-width:0}
.ebd-slide-panel{display:flex;flex-direction:column}
.ebd-slide-panel>.ebd-mystery{flex:1;width:100%}
.ebd-date-progress li.is-current{background:linear-gradient(110deg,#fff8e8,#f4edfc);border-color:#d9c492;color:#775427;font-weight:700}
.ebd-date-board--reveal{align-items:start}
.ebd-date-board--reveal>.ebd-mystery__art--scene{align-self:start;justify-content:flex-start;margin:0 auto;max-height:none}
.ebd-mystery__art--scene{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;max-width:340px;margin:0 auto;float:none}
.ebd-mystery__art--scene img,.ebd-scene-img{display:block;width:100%;height:auto;max-height:270px;object-fit:contain;filter:drop-shadow(0 8px 16px #8f6bb41a)}
.ebd-scene-caption{font-family:var(--ebd-display);font-style:italic;font-size:12px;line-height:1.5;color:#897a92;text-align:center;margin:0!important;max-width:300px}
.ebd-clue-story h3{font-family:var(--ebd-display);font-weight:500;font-size:clamp(18px,2vw,24px);margin:0 0 10px;color:var(--ebd-ink)}
.ebd-clue-story .ebd-clues,.ebd-clue-story .ebd-pill-row{display:flex;gap:6px;flex-wrap:wrap;list-style:none!important;padding:0!important;margin:6px 0 12px!important}
.ebd-pill-row{display:flex;gap:6px;flex-wrap:wrap;list-style:none!important;padding:0!important;margin:6px 0 12px!important}
.ebd-empty-soft,.ebd-muted{font-size:13px;color:#897a92;margin:4px 0!important}
.ebd-bucket{font-size:15px;margin:6px 0!important;color:var(--ebd-ink)}
.ebd-bucket__emoji{margin-right:4px}
.ebd-series{font-size:14px;margin:6px 0!important}
.ebd-stars{font-size:15px;color:#bf913c;letter-spacing:.05em;margin:6px 0!important}
.ebd-awards{list-style:none!important;padding:0!important;margin:6px 0 12px!important;display:grid;gap:6px}
.ebd-awards li{font-size:13px;padding:8px 12px;border:1px solid #e5d8bd;border-radius:12px;background:linear-gradient(120deg,#fffbf1,#f4eefc);color:#67507c}
.ebd-spotlight{display:grid;gap:8px;margin:8px 0}
.ebd-spotlight__note{margin:0;padding:10px 12px;border:1px solid #e5d8bd;border-radius:12px;background:linear-gradient(140deg,#fcf9ff,#fffaf0);font-size:12px;color:#6d6178}
.ebd-spotlight__note cite{display:block;margin-top:6px;font-style:italic;color:#8a7594;font-size:11px}
.ebd-makers{display:grid;gap:12px;margin:6px 0}
.ebd-makers__author,.ebd-makers__pub{display:flex;align-items:center;gap:10px}
.ebd-makers__avatar,.ebd-makers__logo{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid #dbc28d}
.ebd-makers__logo{border-radius:10px}
.ebd-desc{font-size:13px;line-height:1.65;color:#6d6178;max-height:180px;overflow:auto;padding-right:4px}
.ebd-desc p{margin:0!important}
.ebd-first-impression{margin-top:14px;padding-top:12px;border-top:1px solid #eee5d4}
.ebd-first-impression h3,.ebd-second-impression h3{font-size:14px;font-weight:700;margin:0 0 8px}
.ebd-second-impression{margin-top:14px}
/* Step 9: cover column + text column inside the right side of the board. */
.ebd-unveil{display:grid;grid-template-columns:auto minmax(0,1fr);gap:22px;align-items:start;text-align:left}
.ebd-unveil--no-cover{grid-template-columns:minmax(0,1fr)}
.ebd-unveil__cover-col{min-width:0;padding:0 0 14px}
.ebd-unveil__info{min-width:0}
/* Room for the cover's soft shadow inside the scrollable clue column, without shifting its content. */
.ebd-date-board.is-unveiled>.ebd-clue-story{margin-left:-16px;padding:4px 4px 12px 20px}
.ebd-clue-story .ebd-first-impression h3,.ebd-clue-story .ebd-second-impression h3{font-family:inherit;font-size:14px;font-weight:700}
.ebd-unveil__cover-wrap{display:block;margin:0;border-radius:22px;overflow:hidden;box-shadow:0 10px 28px #6233a538;animation:ebd-unwrap .7s ease}
.ebd-unveil__cover,.ebd-reveal-cover--slide,.ebd-date .ebd-unveil .ebd-reveal-cover--slide{display:block;width:auto;height:auto;max-width:220px;max-height:300px;margin:0;border-radius:22px;object-fit:contain;box-shadow:none}
@keyframes ebd-unwrap{from{opacity:0;transform:scale(.92) rotate(-2deg);filter:blur(4px)}to{opacity:1;transform:none;filter:none}}
.ebd-unveil__title{font-family:var(--ebd-display);font-weight:500;font-size:clamp(20px,2.2vw,28px);margin:0 0 4px;color:var(--ebd-ink)}
.ebd-unveil__author{font-family:var(--ebd-display);font-style:italic;font-size:15px;color:#785899!important;margin:0 0 12px!important}
.ebd-unveil__trailer{margin:12px 0;max-width:320px;border-radius:14px;overflow:hidden}
.ebd-unveil__trailer iframe,.ebd-unveil__trailer video,.ebd-trailer-video{width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:14px;background:#f1e9fa}
.ebd-unveil__actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.ebd-unveil .ebd-second-impression{margin-top:16px;padding-top:12px;border-top:1px solid #eee5d4}
/* Right column: centred clue content on every slide (footer bar keeps its own alignment). */
.ebd-clue-story{text-align:center}
.ebd-wrap .ebd-clue-story .ebd-clues,.ebd-wrap .ebd-clue-story .ebd-pill-row,.ebd-wrap .ebd-clue-story .ebd-actions,.ebd-clue-story .ebd-unveil__actions{justify-content:center}
.ebd-clue-story .ebd-makers{justify-items:center}
.ebd-clue-story .ebd-makers__author,.ebd-clue-story .ebd-makers__pub{justify-content:center}
.ebd-clue-story .ebd-awards li,.ebd-clue-story .ebd-spotlight__note,.ebd-clue-story .ebd-desc,.ebd-clue-story .ebd-bucket{text-align:center}
.ebd-clue-story .ebd-first-impression,.ebd-clue-story .ebd-second-impression,.ebd-clue-story .ebd-unveil__info{text-align:center}
.ebd-history__progress{display:inline-block;border-radius:99px;padding:.2rem .6rem;background:linear-gradient(110deg,#fffbf1,#f4eefc);border:1px solid #e5d8bd;color:#67507c!important;font-size:.65rem!important;font-weight:700;letter-spacing:.04em}
.ebd-badge--matched{background:#eee4fa;color:#7b54a0!important}
.ebd-badge--completed{background:linear-gradient(135deg,#8456c4,#5d2e96);color:#fff!important}
.ebd-wrap--home .ebd-date-board--reveal{grid-template-columns:minmax(110px,.65fr) minmax(0,1.35fr);gap:24px;align-items:start}
.ebd-wrap--home .ebd-mystery__art--scene,.ebd-wrap--home .ebd-date-board--reveal>.ebd-mystery__art--scene{max-width:340px}
.ebd-wrap--home .ebd-scene-caption{font-size:11px}
.ebd-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(20px);z-index:9999;padding:10px 18px;border-radius:99px;background:linear-gradient(135deg,#8354c2,#5c299a);color:#fff;font-size:13px;font-weight:600;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;box-shadow:0 8px 24px #5c299a40}
.ebd-toast.is-visible{opacity:1;transform:translateX(-50%) translateY(0)}
@media(max-width:720px){.ebd-wrap--home .ebd-date-board--reveal{grid-template-columns:75px minmax(0,1fr);gap:10px}.ebd-mystery__art--scene,.ebd-wrap--home .ebd-mystery__art--scene,.ebd-wrap--home .ebd-date-board--reveal>.ebd-mystery__art--scene{max-width:75px}.ebd-scene-caption,.ebd-wrap--home .ebd-scene-caption{font-size:9px;max-width:75px}.ebd-unveil{gap:10px}.ebd-unveil__cover-col{padding:0 0 8px}.ebd-date-board.is-unveiled>.ebd-clue-story{margin-left:-6px;padding:4px 4px 8px 10px}.ebd-unveil__cover-wrap{border-radius:10px}.ebd-unveil__cover,.ebd-reveal-cover--slide,.ebd-date .ebd-unveil .ebd-reveal-cover--slide{max-width:65px;max-height:145px;border-radius:10px}.ebd-unveil__trailer{max-width:none}.ebd-date-progress{max-width:none}}
@media(prefers-reduced-motion:reduce){.ebd-unveil__cover-wrap{animation:none!important}}

/* ——— 2.1.1: one-screen frame never clips or overlaps the date card ———
   The JS frame height (--ebd-frame-height) becomes a minimum: the frame fills the screen when the
   card is short and grows when the card needs more room, so the scene, caption and footer bar never
   overlap on short laptop screens or under a tall theme header. */
.ebd-wrap--home{height:auto;min-height:var(--ebd-frame-height,auto)}
.ebd-wrap--home .ebd-play{min-height:0}
.ebd-wrap--home .ebd-mystery{height:auto;min-height:0;overflow:visible}
.ebd-date-board--reveal,.ebd-wrap--home .ebd-date-board--reveal{flex:1 1 auto;min-height:0;grid-template-rows:auto;align-content:start}
.ebd-date-board--reveal>.ebd-clue-story{min-height:0;overflow:visible}
.ebd-date-controls{position:relative;z-index:1}
/* Scene column: a flex column whose image shrinks with the viewport; the caption always sits below it. */
.ebd-date-board--reveal>.ebd-mystery__art--scene{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-height:0}
.ebd-mystery__art--scene img,.ebd-mystery__art--scene .ebd-scene-img{flex:0 1 auto;width:auto;height:auto;max-width:100%;min-height:0;max-height:clamp(140px,34vh,270px);object-fit:contain}
.ebd-mystery__art--scene .ebd-scene-caption{flex:none;position:relative}
@media(max-width:720px){.ebd-mystery__art--scene img,.ebd-mystery__art--scene .ebd-scene-img{max-height:145px}}

/* Leaderboard layout (shared tokens) */
.ebd-wrap .euonia-game-layout{margin-top:.25rem}
.ebd-wrap .euonia-game-board__inner{--egb-ink:var(--ebd-ink);color:var(--ebd-ink)}
