/* Author's approved reference: smooth chocolate, warm ivory, crisp dark
   typography and substantial gold bevels. Current TSH artwork is retained. */
:root{--mf-ink:#2b180d;--mf-gold:#bd832b;--mf-cream:#fff3dc}
body{
 color:var(--mf-ink);
 background:radial-gradient(ellipse at 50% 290px,#fff3dc 0%,transparent 58%),linear-gradient(155deg,#f9e6c8,#ffeccf 48%,#f4d5a6);
 background-size:100% 900px,100% 100%;background-repeat:no-repeat;
 background-attachment:scroll;
}
body::before{
 height:clamp(320px,76vw,510px);
 background:radial-gradient(ellipse at 50% 58%,#b36b24 0%,#6b340d 24%,transparent 66%),linear-gradient(180deg,#281005 0%,#371607 35%,#612b0b 66%,#b4773a 86%,#f9e6c8 100%);
 background-size:100% 100%;mask-image:linear-gradient(#000 0%,#000 68%,transparent 100%);opacity:1;
}
header.luxury-head{background:none;padding:0 0 12px;min-height:0;margin-bottom:16px}
header.luxury-head .logo-symbol{width:108px;height:108px;margin:1px auto 5px}
header.luxury-head .logo-symbol::before{opacity:.75;inset:-7px}
header.luxury-head .logo-symbol img{filter:drop-shadow(0 2px 2px #351605) drop-shadow(0 0 7px #ffbf5070)}
header.luxury-head .brand-flourish{
 width:92%;height:2px;margin:0 auto 9px;
 background:linear-gradient(90deg,transparent,#b87b2e 18%,#fff4bd 50%,#b87b2e 82%,transparent);
 box-shadow:0 0 9px #ffc15a90
}
header.luxury-head h1{font:italic 700 clamp(30px,8.1vw,57px)/1.04 Georgia,"Times New Roman",serif;letter-spacing:-.025em;color:#fff3db;text-shadow:0 3px 3px #210d05,0 0 8px #d78a3d65}
header.luxury-head::after{width:82%;height:2px;margin:9px auto 0;background:linear-gradient(90deg,transparent,#b87b2e 25%,#ffedb1 50%,#b87b2e 75%,transparent);box-shadow:0 0 10px #ffbe5899}
header.luxury-head .host-badge{top:18px;left:0;background:linear-gradient(#563017,#2a1308);border:1.5px solid #e5b367;color:#ffe3a2;box-shadow:inset 0 1px 1px #ffdda3,0 3px 6px #190a0580;padding:7px 10px;font-weight:700}
header.luxury-head .header-seal.menu-trigger{top:16px;right:0;width:44px;height:44px;min-width:44px;min-height:44px;border:1.5px solid #e7b86a;border-radius:50%;background:linear-gradient(#5a3318,#2a1308);box-shadow:inset 0 1px 1px #ffdfa3,0 3px 6px #190a0580;color:#ffe5ab}
header.luxury-head .menu-trigger svg{width:25px;height:25px;stroke-width:2.1}
.author-intro,.matrix .field,.deck-zone,.host-actions,.matrix-wrap .center-overlay,.content-panel{
 background:radial-gradient(ellipse at 35% 13%,#fffaf0 0%,transparent 68%),linear-gradient(145deg,#fff6e5,#ffedce 70%,#f7d7a2);
 border:2px solid #b78032;
 box-shadow:inset 0 0 0 2px #fffaf0,inset 0 0 0 4px #e1b56d,inset 0 0 0 6px #fff3dc,inset 0 -5px 10px #b87a2526,0 5px 0 #8c5218,0 10px 17px #713a1663,0 2px 5px #552b1830;
}
.author-intro{
 grid-template-columns:clamp(100px,24vw,165px) minmax(0,1fr);
 gap:12px 16px;padding:20px 18px 16px;margin-bottom:28px;border-radius:20px;
}
.author-intro::before,.author-intro::after{display:none}
.author-photo{border:3px solid #e6b76d;outline:1px solid #81501c;outline-offset:1px;box-shadow:0 5px 10px #79400f55}
.author-copy .author-kicker{color:#94550e;font:800 clamp(11px,2.9vw,15px)/1.2 system-ui,sans-serif;letter-spacing:.045em;margin:0 0 9px}
.author-intro .author-copy h2{font:italic 700 clamp(23px,5.4vw,34px)/1.08 Georgia,"Times New Roman",serif;color:#2e170d;letter-spacing:-.02em;margin:0 0 9px;text-shadow:none}
.author-intro .author-copy p{font:700 clamp(14px,3.55vw,19px)/1.3 Georgia,"Times New Roman",serif;color:#25150d;letter-spacing:0;text-shadow:none}
.author-intro .author-credit{grid-column:1/-1;justify-self:center;justify-content:center;align-items:center;width:min(100%,370px);gap:9px;margin:0;padding-top:10px;border-top:1px solid #d6a352;font:700 clamp(15px,3.8vw,19px)/1.2 Georgia,serif;color:#30190d}
.author-intro .author-credit img{width:28px;height:28px;margin:0;filter:drop-shadow(0 1px 1px #9b602d60)}
.stage-indicator{min-height:43px;margin-bottom:22px;padding:10px 20px;color:#301b0e;background:linear-gradient(150deg,#fff6e5,#fbe1b3);border-color:#e1ba7c;box-shadow:inset 0 1px 1px #fff,0 5px 10px #93551e52;font:800 clamp(12px,3.3vw,15px)/1.2 system-ui,sans-serif}
.stage-indicator .sync{color:#16a068;text-shadow:none}
.stage-indicator .sync.offline{color:#ab4145}
.matrix-wrap .matrix .field{border-radius:22px;padding:18px 12px 16px;min-height:235px}
.matrix-wrap .matrix .field:not(.completed){min-height:clamp(166px,42vw,240px)}
.matrix-wrap .matrix .field:not(.completed) .field-main-live{min-height:0;height:0;padding:0!important}
.matrix .field .empty-ornament{display:none}
.matrix .field .question{gap:9px}
.matrix .field .question-title{max-width:100%;color:#28150b!important;font:700 clamp(17px,4.1vw,25px)/1.13 Georgia,"Times New Roman",serif!important;text-shadow:none}
.matrix .field .question-symbol{color:#c18120!important;filter:drop-shadow(0 1px 0 #fff0bd) drop-shadow(1px 2px 1px #8a4b16a0)!important}
.matrix .field .question-symbol .ico{stroke-width:2.25}
.matrix .field::before,.matrix .field::after{opacity:.84;filter:sepia(.3) saturate(1.5) drop-shadow(0 1px 1px #8a501d8f)}
.matrix-wrap .card-stack .first-mini,.matrix-wrap .center-overlay .first-mini,.lib-card{background:linear-gradient(145deg,#fffaf0,#f6ddb7)}
.folio{background:radial-gradient(ellipse at 50% 8%,#a56627a0,transparent 36%),linear-gradient(180deg,#37180b 0,#66360f 105px,#b78346 174px,#f7e4c4 245px,#fff2d9 61%,#f1d0a0 100%);box-shadow:inset 0 0 0 3px #fff6e6,inset 0 0 0 5px #b67b29,inset 0 0 0 8px #ffebc6,inset 0 0 0 10px #d7a454,0 6px 0 #85501e,0 20px 42px #170b0590}
.folio .folio-title{color:#4b2118;font-weight:700;text-shadow:none}
.folio .folio-text{color:#2c1c12;font-weight:500;text-shadow:none}
.site-drawer{background:linear-gradient(145deg,#fff7e7,#f5dcb7)}
.bottom-nav{background:linear-gradient(145deg,#fff4df,#f8deb6);border-color:#fff5e7;box-shadow:inset 0 1px 1px #fff,0 -5px 15px #73411635;min-height:76px;padding-top:10px}
.bottom-nav button{color:#382014;font:800 clamp(11px,3vw,14px)/1.15 system-ui,sans-serif;gap:5px;padding:7px 3px}
.bottom-nav button.active{color:#a76510;background:linear-gradient(145deg,#fff9e9,#ffe4ae);box-shadow:inset 0 1px 1px white,0 4px 9px #b4773845}
.bottom-nav svg{stroke-width:2.25}
.test-reset-row{margin-bottom:14px}
.test-reset-row button{background:linear-gradient(#fff5e0,#f9dba9);color:#46280f;font-weight:700}
.test-reset-row span{color:#5d391c}
footer.jdn-credit,footer.jdn-credit a{color:#65401e}
@media(max-width:600px){
 .shell{padding-left:10px;padding-right:10px}
 header.luxury-head{padding-top:0;margin-bottom:14px}
 header.luxury-head .logo-symbol{width:94px;height:94px;margin:0 auto 7px}
 header.luxury-head .host-badge{font-size:11px;top:14px;padding:6px 8px}
 header.luxury-head .header-seal.menu-trigger{top:12px}
 .author-intro{grid-template-columns:clamp(86px,26vw,126px) minmax(0,1fr);gap:11px 13px;padding:17px 15px 14px;margin-bottom:24px}
 .author-intro .author-copy h2{font-size:clamp(21px,5.3vw,28px)}
 .author-intro .author-copy p{font-size:clamp(13px,3.65vw,17px)}
 .author-intro .author-credit{font-size:clamp(14px,3.75vw,18px)}
 .matrix-wrap .matrix .field.completed{min-height:275px}
 .matrix-wrap .matrix .field{padding:14px 9px 13px}
 .matrix .field .question-title{font-size:clamp(15px,4.15vw,21px)!important}
}
@media(max-width:360px){
 header.luxury-head .logo-symbol{width:82px;height:82px}
 header.luxury-head .host-badge{font-size:10px;padding:5px 6px}
 .author-intro{grid-template-columns:78px minmax(0,1fr);padding:14px 12px;gap:10px}
 .author-intro .author-copy h2{font-size:19px}
 .author-intro .author-copy p{font-size:13px}
 .matrix .field .question-title{font-size:15px!important}
}
