/* Shared explorer's journal. Birthday remains the reference, with its own layout. */
body.explorer-theme{--ink:#392a20;--muted:#6b5440;--paper:#f3e1bd;--coral:#ae4127;--line:#c9ab77;--brass:#947039;--forest:#493522;background:#f0dfbd;background-image:linear-gradient(100deg,#f8edd5ed,#ead1a6df),url('/images/birthday-parchment.webp?v=2');background-size:auto,600px 240px;color:var(--ink)}
.explorer-theme .world-header{padding:24px 32px;border-color:#b58b4c70;max-width:1240px}
.explorer-theme .brand{display:inline-flex;gap:10px;align-items:center;font:bold 28px Georgia,serif;color:#3e2c23;letter-spacing:-1px}
.explorer-theme .brand svg{width:30px;height:30px;color:#ae4127;flex:none}.explorer-theme .brand span{display:inline;font:inherit;letter-spacing:inherit;margin:0}.explorer-theme .brand em{color:#ae4127;font-style:normal}
.explorer-theme .world-nav a{border-radius:4px;color:#503b2b}.explorer-theme .world-nav a[aria-current=page]{background:#9f3d25;color:#fff6e5;box-shadow:inset 0 0 0 1px #71321e}.explorer-theme .world-nav a:hover{background:#e2c592;color:#493120}
.explorer-theme main{padding-right:32px;padding-left:32px}
.explorer-theme h1,.explorer-theme h2,.explorer-theme h3,.explorer-theme h4{font-family:Georgia,'Times New Roman',serif;color:#49301e}.explorer-theme h1 em,.explorer-theme h2 em{color:#ab3e24}
.explorer-theme h1{line-height:1.08;letter-spacing:-2px}.explorer-theme .eyebrow,.explorer-theme .world-kicker,.explorer-theme .kicker{color:#80521f;font-size:10px;letter-spacing:1.8px;font-weight:700}
.explorer-theme .lead,.explorer-theme .numbers-intro,.explorer-theme .games-hero p,.explorer-theme .trust,.explorer-theme .hint,.explorer-theme .world-help,.explorer-theme .sectionnote{color:#68503a}
/* A framed parchment opening and a clearly drawn route, behind the content. */
.explorer-theme .world-hero,.explorer-theme .games-hero,.explorer-theme .editorial-title,.explorer-theme .intro{isolation:isolate;position:relative;background:linear-gradient(110deg,#f9eacbda,#e9c68f55),url('/images/birthday-parchment.webp?v=2');background-size:auto,cover;border:1px solid #b3874566;border-radius:3px;box-shadow:inset 0 0 45px #9b682223,0 10px 35px #70421b0b;padding:40px 36px;margin:30px 0}
.explorer-theme .world-hero{gap:44px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.explorer-theme .world-hero>div,.explorer-theme .games-hero>*,.explorer-theme .editorial-title>*{position:relative;z-index:1;min-width:0}
.explorer-theme .world-hero:before,.explorer-theme .games-hero:before,.explorer-theme .editorial-title:before,.explorer-theme .intro:before{content:'';position:absolute;inset:9px;width:auto;height:auto;border:1px solid #b3874538;border-radius:0;transform:none;z-index:-1;pointer-events:none}
.explorer-theme .world-hero:after,.explorer-theme .games-hero:after,.explorer-theme .editorial-title:after{content:'';position:absolute;right:18px;bottom:20px;top:auto;width:180px;height:75px;border-bottom:4px dotted #ae41276b;border-right:4px dotted #ae41276b;border-radius:0 0 80% 0;transform:rotate(-8deg);z-index:0;pointer-events:none}
.explorer-theme .world-hero h1{font-size:clamp(43px,4.8vw,62px)}.explorer-theme .games-hero h1{font-size:clamp(43px,5.5vw,70px)}
.explorer-theme .world-form,.explorer-theme .entry{background:#f7e6c5;border:1px solid #a77b3f;border-radius:3px;padding:26px;box-shadow:4px 5px 0 #e6c590,5px 6px 0 #b58a4d85,0 15px 32px #69431f18;min-width:0}
.explorer-theme .world-form{overflow:hidden}.expedition-form-art{height:116px;margin:-26px -26px 25px;position:relative;background:linear-gradient(0deg,#583116bd,transparent 85%),url('/images/birthday-explorer-desk.webp') 45% 22%/cover;border-bottom:1px solid #a77b3f}
.expedition-seal{position:absolute;left:20px;bottom:14px;width:74px;height:74px;background:radial-gradient(circle,#f7e5bd,#c99b50);border:2px solid #89622e;border-radius:50%;padding:5px;box-shadow:0 3px 10px #25130670;color:#705023;transform:rotate(-10deg)}.expedition-seal svg{width:100%;height:100%}.expedition-art-label{position:absolute;right:18px;bottom:20px;color:#fff0d5;font-size:9px;font-weight:700;letter-spacing:1.8px;max-width:150px;text-align:right;line-height:1.8}
.explorer-theme input:not([type=checkbox]):not([type=radio]),.explorer-theme select,.explorer-theme .world-form input:not([type=checkbox]),.explorer-theme .world-form select{background:#fff7e6;border:1px solid #b18c52;border-radius:3px;color:#49301e;box-shadow:inset 0 2px 5px #8f5d2410;max-width:100%}
.explorer-theme input[type=checkbox],.explorer-theme input[type=radio]{accent-color:#a34228}
.explorer-theme button:where(:not(.sudoku-cell,.memory-card,.playing-card,.cell)),.explorer-theme .button,.explorer-theme .editorial-cta,.explorer-theme .event-booking{background:#a43f26;color:#fff5e1;border-radius:4px}
.explorer-theme .world-form button[type=submit],.explorer-theme .equals-key{background:linear-gradient(#b84b2c,#9d3820);border:1px solid #8e331d;box-shadow:0 3px 0 #74351e25,inset 0 1px 0 #e4a57a80}
.explorer-theme button.secondary,.explorer-theme .secondary,.explorer-theme .other-games .button,.explorer-theme .world-examples button,.explorer-theme .filters button,.explorer-theme .place-life-filters button{background:#edd5ac;color:#664326;border:1px solid #b58d52;border-radius:4px}
.explorer-theme .filters button[aria-pressed=true],.explorer-theme .place-life-filters button[aria-pressed=true]{background:#944025;color:#fff4dc}
.explorer-theme button.demo,.explorer-theme button.textbutton,.explorer-theme .world-privacy button,.explorer-theme .history-entry{background:transparent;color:#86512d}
/* Paper surfaces across discoveries, tools, editorial and game menus. */
.explorer-theme .factcard,.explorer-theme .numbercard,.explorer-theme .world-stat,.explorer-theme .world-choices button,.explorer-theme .number-panel,.explorer-theme .name-record-card,.explorer-theme .name-country-panel,.explorer-theme .place-choice,.explorer-theme .editorial-tile,.explorer-theme .board{background:linear-gradient(130deg,#fff2d9,#efdbb6);border:1px solid #c0a06a;border-radius:4px;box-shadow:0 3px 10px #6d45100a;color:#49301e}
.explorer-theme .world-panel,.explorer-theme .world-intro-card,.explorer-theme .world-empty,.explorer-theme .wonder-panel,.explorer-theme .numbers-crosslink,.explorer-theme .editorial-sourcebox,.explorer-theme .event-calendars,.explorer-theme .milestones{background:#e7cfa6;border:1px solid #bea16c;border-radius:4px}
.explorer-theme .factcard .mark{background:#dfc28b;color:#795021;border:1px solid #b58a4b}.explorer-theme .factcard .tag{color:#8a4d25}.explorer-theme .factphoto figcaption,.explorer-theme .editorial-photo,.explorer-theme .event-image-empty{background:#efdebd;color:#6d563d}
.explorer-theme .factcard h3,.explorer-theme .sectionhead h2,.explorer-theme .world-next h2{color:#4f331f}.explorer-theme .building-comparison{background:#e6c993;color:#57391f}
.explorer-theme .world-next{background:linear-gradient(120deg,#ecd0a1,#e3ba80);border:1px solid #b4884a;border-radius:4px}
.explorer-theme .world-next-grid a,.explorer-theme .world-next-grid .planned-page{background:#f6e7c9;border-color:#bd9b62;border-radius:3px;color:#5a3a23}.explorer-theme .world-next-grid .nav-illustration{color:#8c5928}.explorer-theme .world-next-grid span{color:#68503a}
.explorer-theme .journal-widget,.explorer-theme .lw-data-notice{background:#f3e3c6!important;border:1px solid #c8aa77!important;border-radius:4px}.explorer-theme .journal-feature .editorial-photo{border-radius:3px}.explorer-theme details,.explorer-theme .world-section,.explorer-theme .context-links{border-color:#c3a373}
.explorer-theme .adspace{background:#eadac06e;border-color:#bca47e;border-radius:3px;color:#74614b}
.explorer-theme .numbers-nav a,.explorer-theme .then-now-jumps a{background:#f4e2be;border:1px solid #b58d52;border-radius:4px;color:#714626}.explorer-theme .number-result,.explorer-theme .wonder-panel #number-fact,.explorer-theme .number-orbit{color:#835021}.explorer-theme .wonder-panel section,.explorer-theme .wonder-panel #number-discoveries{border-color:#bda16e}
.explorer-theme .calculator-keys button{background:#f5e4c6;color:#4d3523;border:1px solid #b99a65;border-radius:4px}.explorer-theme .calculator-keys .calc-operator{background:#dfbd83}.explorer-theme .numbers-page>h1 em{color:#ab3e24}
.explorer-theme .cards>.card{background:linear-gradient(140deg,#f9e9c9,#ead0a2);border:1px solid #b58d52;border-radius:4px;box-shadow:inset 0 0 0 5px #fff0d540,0 5px 12px #70451a0b;position:relative}
.explorer-theme .cards>.card:after{content:'';position:absolute;right:18px;top:22px;width:46px;border-top:3px dotted #b2572d80;transform:rotate(-20deg);pointer-events:none}.explorer-theme .cards .go{border-color:#b58d52;color:#9f3d25}.explorer-theme .cards .art{color:#8d642c}
.explorer-theme .letterart b,.explorer-theme .tiles b{background:#faedcf;border-color:#8c642e;box-shadow:3px 4px 0 #9d753e;color:#5a3a23;border-radius:3px}.explorer-theme .sudoku-art{color:#825629}.explorer-theme .memory-preview,.explorer-theme .sudoku-grid{border-color:#8d6b3c}
/* Preserve actual puzzle state feedback, playing-card suits and scene illustrations. */
.explorer-theme .sudoku-cell{background:#fff5df;color:#9b4428;border-radius:0}.explorer-theme .sudoku-cell.given{background:#eddbb9;color:#49301e}.explorer-theme .sudoku-cell.related{background:#f3e4c6}.explorer-theme .sudoku-cell.selected{background:#e9c48d;box-shadow:inset 0 0 0 3px #a33f25}.explorer-theme .sudoku-cell.error{color:#a41920;background:#ffe4e4}.explorer-theme .sudoku-cell.error.selected{background:#ffcaca;box-shadow:inset 0 0 0 3px #a41920}.explorer-theme .memory-card{background:#d9b778;color:#60401f;border-color:#9e773e}.explorer-theme .memory-card.face-up{background:#fff5df}.explorer-theme .memory-card.matched{background:#e8eedf;border-color:#8da884}.explorer-theme .playing-card:not(.card-back):not(.empty-card):not(.chosen){background:#fffdf6;color:#29252d}.explorer-theme .playing-card.red-card:not(.card-back):not(.empty-card){color:#ad332b}.explorer-theme .playing-card.card-back{background:repeating-linear-gradient(45deg,#8b4d31 0px,#8b4d31 5px,#b4754c 5px,#b4754c 7px);border-color:#e6d2a8;color:#fff2d4}.explorer-theme .playing-card.chosen{background:#fff1b3;color:#29252d}.explorer-theme .playing-card.empty-card{background:#183d3550;color:#ecedda80}.explorer-theme .cell{background:#f5e6c8;color:#49301e}.explorer-theme .cell.found{background:#d5ebce}.explorer-theme .cell.reveal{background:#f5b7a3}.explorer-theme .cell.miss{background:#eee0eb}.explorer-theme .dotfield{background:#efe0c1}
.explorer-theme :focus-visible{outline:3px solid #a33f25!important;outline-offset:4px}
@media(max-width:1050px){.explorer-theme .world-header{gap:18px}.explorer-theme .world-nav{gap:0}.explorer-theme .world-nav a{font-size:12px;padding:9px}.explorer-theme .world-hero{gap:28px;padding:32px 26px}}
@media(max-width:750px){.explorer-theme .world-header{padding:20px;gap:18px}.explorer-theme .brand{font-size:26px}.explorer-theme main{padding-right:20px;padding-left:20px}.explorer-theme .world-nav{gap:3px}.explorer-theme .world-hero{grid-template-columns:1fr;gap:28px}.explorer-theme .world-hero,.explorer-theme .games-hero,.explorer-theme .editorial-title,.explorer-theme .intro{padding:29px 22px;margin:22px 0}.explorer-theme h1,.explorer-theme .world-hero h1,.explorer-theme .games-hero h1{font-size:clamp(40px,10vw,58px);letter-spacing:-1.6px;line-height:1.1}.explorer-theme.game-screen h1{font-size:38px}.explorer-theme .world-form{padding:22px}.expedition-form-art{margin:-22px -22px 22px;height:110px}.explorer-theme .world-next{padding:22px}.explorer-theme footer .brand{font-size:24px}.explorer-theme .cards>.card:after{width:30px;right:12px}.explorer-theme .adspace{margin:24px auto}}

.explorer-theme .sudoku-art{height:140px;font-size:30px;line-height:1.15;padding:13px 18px;border-color:#9d753e;background:#fff1d5}
.explorer-theme .numbers-page:before{content:'';position:absolute;right:20px;top:30px;width:160px;height:80px;border-top:4px dotted #ae41276b;border-right:4px dotted #ae41276b;border-radius:0 80% 0 0;pointer-events:none;z-index:-1}
@media(max-width:750px){.explorer-theme .numbers-page:before{width:70px;opacity:.45}}
