
:root{--ink:#251b22;--deep:#201724;--deep2:#2d2030;--wine:#782946;--wine2:#a5445d;--gold:#cda65d;--gold2:#f3d995;--paper:#f7edda;--paper2:#e8d7b8;--line:#d2be9d;--muted:#8b7d7b;--green:#406d5c;--bad:#ab4b4e}
*{box-sizing:border-box}html{min-height:100%;background:var(--deep)}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 30% 0,#403044 0,transparent 48%),linear-gradient(135deg,#160f1b,#2b1c2b 55%,#171219);color:var(--paper);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;line-height:1.6}
button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}.app{max-width:1300px;margin:auto;padding:18px 18px 56px}
.topbar{display:flex;align-items:center;gap:20px;justify-content:space-between;padding:12px 4px 18px;border-bottom:1px solid #705361;flex-wrap:wrap}.brand{font:700 clamp(24px,3vw,35px) Georgia,"Yu Mincho",serif;letter-spacing:.12em;color:var(--gold2);white-space:nowrap}.brand span{font:400 10px sans-serif;display:block;letter-spacing:.18em;color:#c7aaba}.stats{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.stat{border:1px solid #6c5362;background:#241824;border-radius:6px;padding:7px 12px;font-size:12px;white-space:nowrap}.stat b{color:var(--gold2);font-variant-numeric:tabular-nums;font-size:16px;margin-left:5px}.shell{display:grid;grid-template-columns:245px minmax(0,1fr);gap:18px;margin-top:18px}.sidebar{background:linear-gradient(180deg,#322438,#221823);border:1px solid #735b65;padding:18px;border-radius:12px;align-self:start;box-shadow:0 10px 30px #0002}.crest{text-align:center;margin:4px auto 24px;width:124px;height:124px;border:2px double var(--gold);border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:radial-gradient(circle,#583447,#2e2032);color:var(--gold2)}.crest .grapes{font-size:42px;line-height:1.1}.crest small{font:11px Georgia,serif;letter-spacing:.17em}.side-label{font-size:10px;letter-spacing:.19em;color:#cab5bb;text-transform:uppercase;margin:18px 8px 9px}.navbtn{display:flex;align-items:center;gap:12px;width:100%;border:1px solid transparent;background:transparent;color:#e5d9d2;text-align:left;padding:12px 13px;margin:5px 0;border-radius:7px;font-weight:650}.navbtn:hover,.navbtn.active{background:#5c344d;border-color:#94717f;color:#fff}.navbtn .em{font-size:19px;width:25px;text-align:center}.sidefoot{border-top:1px solid #664e5d;padding-top:15px;margin-top:28px;font-size:11px;color:#c7b4ba}.sidefoot strong{color:var(--gold2)}.view{min-width:0}
[hidden]{display:none!important}.panel{background:linear-gradient(145deg,#f9f0dc,#e9dcc2);color:var(--ink);border:1px solid #d7b978;border-radius:12px;overflow:hidden;box-shadow:0 6px 0 #100d1390,0 20px 40px #0004}.panel-inner{padding:clamp(17px,3vw,31px)}.eyebrow{font-size:11px;letter-spacing:.24em;font-weight:750;color:#916139;text-transform:uppercase}.heading{font:700 clamp(25px,3.3vw,37px)/1.3 Georgia,"Yu Mincho",serif;color:#512d39;margin:6px 0 14px}.sub{color:#6f5b58;font-size:14px}.divider{height:1px;background:#cbb797;margin:22px 0}.btn{border:1px solid #7b2442;border-radius:7px;background:linear-gradient(#913d5c,#6d2845);color:#fff;padding:11px 17px;font-weight:750;box-shadow:0 3px 0 #4f1f34;transition:filter .1s,transform .1s;min-height:46px}.btn:hover{filter:brightness(1.12)}.btn:active{transform:translateY(2px);box-shadow:0 1px 0 #4f1f34}.btn-alt{border-color:#836b42;background:linear-gradient(#e8cd8f,#c9a462);color:#39292b;box-shadow:0 3px 0 #a7864c}.btn-ghost{background:transparent;color:#6b3448;box-shadow:none;border:1px solid #c4aa88}.btn-ghost:hover{background:#ead9bf}.btn-sm{padding:8px 12px;font-size:12px;min-height:38px}.actions{display:flex;flex-wrap:wrap;gap:11px;margin-top:20px}.tag{display:inline-flex;gap:5px;align-items:center;background:#e6d6b8;color:#744e44;border:1px solid #cdb48e;border-radius:999px;padding:4px 11px;font-size:12px;font-weight:700}.tag.dark{background:#492f43;color:#e9d6c2;border-color:#956b73}
.title-scene{position:relative;min-height:395px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:42px 22px;background:radial-gradient(ellipse at 50% 18%,#9b6474aa,transparent 43%),linear-gradient(180deg,#34233a 5%,#6a3c4c 58%,#302630 100%);overflow:hidden}.title-scene:before{content:"";position:absolute;inset:57% -15% -10%;background:linear-gradient(135deg,transparent 30%,#283929 30% 60%,transparent 60%),linear-gradient(28deg,transparent 25%,#344832 25% 67%,transparent 67%);opacity:.86;clip-path:polygon(0 50%,12% 35%,30% 60%,48% 27%,60% 55%,80% 20%,100% 42%,100% 100%,0 100%)}.title-scene:after{content:"";position:absolute;left:0;right:0;bottom:0;height:70px;background:repeating-linear-gradient(95deg,#243420 0 3px,#485534 4px 10px,#2d3e25 12px 18px);clip-path:polygon(0 35%,100% 0,100% 100%,0 100%);opacity:.86}.title-content{z-index:2;position:relative;text-shadow:0 3px 15px #210b25}.title-icon{font-size:48px;filter:drop-shadow(0 3px 5px #0009)}.title-text{font:800 clamp(41px,8vw,78px)/1.05 Georgia,serif;letter-spacing:.08em;color:#ffe3a6;margin:4px 0}.title-italian{font:italic clamp(14px,2.3vw,22px) Georgia,serif;letter-spacing:.07em;color:#fff1da}.title-line{font-size:12px;color:#f9e9d3;letter-spacing:.16em;margin:22px 0 0}.intro{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:center}.intro p{font-size:14px}.inputrow{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.textinput{border-radius:6px;padding:12px;border:1px solid #aa9477;background:#fffdf7;min-height:46px;max-width:100%;color:#301e28}.intro-right{padding:20px;border:1px solid #d1bd9e;background:#f1e3c8;border-radius:8px}.intro-right b{color:#6f3550}
.hubhead{display:flex;gap:12px;align-items:end;justify-content:space-between;flex-wrap:wrap}.map-border{background:#1d2524;border:7px solid #654a41;outline:2px solid #aa8a5c;margin:18px 2px 11px;position:relative;box-shadow:inset 0 0 0 2px #ebc98a}.map-canvas{display:block;width:100%;height:auto;image-rendering:pixelated;touch-action:manipulation}.pixel-caption{color:#6d544b;font-size:12px;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.hub-layout{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:16px;align-items:start}.map-controls{display:flex;gap:5px;align-items:center;justify-content:center;margin:10px 0}.pad{border:2px solid #a98f68;background:#e9d3ae;border-radius:7px;width:44px;height:44px;color:#392331;font-weight:900;touch-action:manipulation}.pad.act{width:75px;background:#70354f;color:white}.hintbox{background:#f2e6cc;border:1px solid #d4bb90;border-radius:7px;padding:14px;font-size:13px;margin-top:15px;color:#583b42}.progress-track{height:9px;border-radius:999px;background:#dbcaa8;overflow:hidden}.progress-fill{background:linear-gradient(90deg,#8c3b56,#c29c58);height:100%;transition:width .25s}.mini-stat{margin:14px 0}.mini-stat b{font-size:13px}.mini-stat small{float:right;color:#71534e}
.route-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:22px}.route{position:relative;background:#f4e7cc;border:1px solid #c7a97d;border-radius:10px;padding:0;overflow:hidden}.route-art{height:90px;display:flex;align-items:center;justify-content:center;font-size:40px;position:relative;background:linear-gradient(145deg,#a8afa0,#718879 55%,#a8a77d)}.route:nth-child(2) .route-art{background:linear-gradient(145deg,#a27978,#675e79,#6c886f)}.route:nth-child(3) .route-art{background:linear-gradient(145deg,#bcc9c0,#7e9fa2,#bac6a3)}.route:nth-child(4) .route-art{background:linear-gradient(145deg,#d2bb93,#83a29f,#6d8a69)}.route:nth-child(5) .route-art{background:linear-gradient(145deg,#79a6b1,#96c0b6,#b9b58a)}.route-art:after{content:"";height:28px;position:absolute;bottom:0;left:0;right:0;background:repeating-linear-gradient(95deg,#344d32 0 4px,#4f6940 5px 13px);opacity:.65}.route-body{padding:15px}.route h3{font:700 22px Georgia,serif;color:#6b2f43;margin:0}.route p{font-size:12px;margin:6px 0 11px;color:#765d59;min-height:38px}.route-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}.route-meter{height:5px;background:#d8c39d;border-radius:10px;overflow:hidden;margin-top:11px}.route-meter div{height:100%;background:var(--green)}
.quizstage{background:linear-gradient(130deg,#33263b,#462d40);color:#fff7e8;border-radius:9px;border:5px solid #816a58;box-shadow:inset 0 0 0 3px #352735;padding:clamp(17px,3vw,30px);margin-top:16px}.question{font:700 clamp(19px,2.6vw,27px)/1.55 Georgia,"Yu Mincho",serif;margin:18px 0 22px}.choices{display:grid;gap:10px}.choice{width:100%;text-align:left;display:flex;align-items:center;gap:14px;background:#4e394e;border:1px solid #8e7284;border-radius:7px;color:#fff5e9;min-height:54px;padding:10px 14px}.choice:hover:not(:disabled){background:#6c4863}.choice:disabled{opacity:1}.choice.correct{background:#245a48;border-color:#7bcc9e}.choice.wrong{background:#7d364a;border-color:#ef9da3}.choice .letter{background:#211b29;border:1px solid #ad91a2;display:inline-flex;width:31px;height:31px;align-items:center;justify-content:center;flex:0 0 auto;border-radius:5px;font-weight:800}.quiz-feedback{border:1px solid #dec28e;background:#f9e9c9;color:#3d2b2d;padding:16px;border-radius:8px;margin-top:18px}.quiz-feedback strong{color:#683248}.quiz-feedback a,.sources a{color:#754660;text-underline-offset:2px;word-break:break-word}.quiz-feedback p{margin:7px 0}.quiz-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:19px;flex-wrap:wrap}.quiz-footer .tag{background:#614354;color:#fff0d9;border-color:#b48e9a}
.codex-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:22px 0}.winecard{background:#fcf4e4;border:1px solid #b99d6b;border-radius:8px;padding:11px;color:#493639;min-height:315px;box-shadow:0 4px 0 #dac394;position:relative;overflow:hidden}.winecard:before{content:"";position:absolute;inset:5px;border:1px solid #ceb18b;border-radius:3px;pointer-events:none}.winecard.locked{filter:grayscale(.8);opacity:.71}.wine-emblem{border-radius:50%;height:75px;width:75px;margin:13px auto 9px;display:flex;align-items:center;justify-content:center;border:2px solid #c3a268;background:radial-gradient(#fdf8e9,#e8dac1);font-size:38px}.winecard h3{font:700 20px/1.25 Georgia,"Yu Mincho",serif;color:#71334c;text-align:center;min-height:50px;margin:0 0 6px}.winecard .cardtype{font:11px Georgia,serif;color:#8c775e;text-align:center;letter-spacing:.08em}.winecard .cardrule{height:1px;background:#c8b28e;margin:12px 0}.winecard dl{display:grid;grid-template-columns:50px 1fr;gap:5px;margin:0;font-size:12px}.winecard dt{color:#937652}.winecard dd{margin:0}.winecard p{font-size:12px;line-height:1.7;color:#5f5150}.cards-count{color:#694c45;font-size:12px}
.service-grid{display:grid;grid-template-columns:1fr minmax(0,1.1fr);gap:22px}.guest-portrait{height:154px;background:linear-gradient(140deg,#4a344c,#7d5360 50%,#3d5c55);display:flex;align-items:center;justify-content:center;gap:18px;border:4px solid #705e57;border-radius:7px;color:#fff}.guest-portrait .face{font-size:74px;filter:drop-shadow(0 5px 1px #0004)}.guest-portrait .food{font-size:55px}.speech{position:relative;background:#f0e3c9;border:1px solid #c9af87;border-radius:10px;padding:15px;font-size:14px;margin:15px 0}.guest-portrait .face svg,.guest-portrait .food svg{display:block;width:1em;height:1em}.mission span svg{display:block;width:1em;height:1em}.service-list{display:flex;flex-direction:column;gap:7px}.mission{background:#f1e5d0;border:1px solid #ccb58d;color:#5b4547;text-align:left;padding:11px 13px;border-radius:8px;display:flex;gap:10px;align-items:center}.mission.active{background:#ead1d7;border-color:#8f4f68}.mission b{display:block}.mission small{display:block;font-size:11px;color:#806f68}.rating{font:800 28px Georgia,serif;letter-spacing:.05em}.rating.excellent{color:#2d7454}.rating.good{color:#896526}.rating.fair{color:#9f4c50}.sources{font-size:12px;color:#725d57}.sources li{margin:7px 0}.toast{position:fixed;bottom:15px;right:15px;background:#2a3f36;color:#f1e5d6;border:1px solid #b9a37d;padding:12px 16px;border-radius:8px;box-shadow:0 9px 23px #0006;z-index:8;font-size:13px;max-width:280px}.guide-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.guide-step{background:#f2e3c6;border:1px solid #d3ba91;padding:16px;border-radius:8px}.guide-step b{color:#774056}.copyright{font-size:11px;color:#bbaab4;line-height:1.7;text-align:right;margin-top:18px}.empty{padding:18px;background:#efdfc2;border:1px dashed #b9a381;border-radius:8px}.map-kbd{font-size:11px;color:#a99293;margin-top:14px;text-align:center}
@media(max-width:1040px){.shell{grid-template-columns:190px minmax(0,1fr)}.hub-layout{grid-template-columns:1fr}.codex-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-grid{grid-template-columns:1fr}.intro{grid-template-columns:1fr}.crest{width:97px;height:97px}}
@media(max-width:720px){.app{padding:9px 9px 38px}.topbar{gap:7px;padding:8px 3px 13px}.brand{font-size:25px}.stats{gap:4px}.stat{padding:4px 7px;font-size:10px}.stat b{font-size:13px}.shell{display:block;margin-top:9px}.sidebar{padding:7px;margin-bottom:9px;display:flex;flex-wrap:wrap;gap:4px;align-items:center}.crest,.side-label,.sidefoot{display:none}.navbtn{width:auto;flex:1 1 28%;font-size:11px;padding:8px 5px;margin:0;gap:5px;justify-content:center}.navbtn .em{font-size:14px;width:auto}.panel-inner{padding:14px}.title-scene{min-height:290px}.title-text{font-size:clamp(38px,10vw,64px)}.route-grid{grid-template-columns:1fr}.route-art{height:65px}.route p{min-height:0}.codex-grid{grid-template-columns:1fr 1fr;gap:9px}.winecard{padding:9px;min-height:340px}.winecard h3{font-size:15px}.winecard dl{display:block}.winecard dt{font-size:10px}.winecard dd{font-size:11px;margin-bottom:4px}.winecard p{font-size:11px}.guide-steps{grid-template-columns:1fr}.heading{font-size:26px}.service-grid{gap:12px}.intro-right{padding:13px}.hub-layout{gap:5px}.map-border{border-width:4px}.pixel-caption{font-size:10px}.map-kbd{display:none}}
@media(max-width:380px){.navbtn{font-size:10px}.stat{font-size:9px}.winecard h3{font-size:14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* --- VINO QUEST 0.3: interactive encyclopedia, revision and difficulty --- */
.learning-strip{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:18px 0 13px;padding:13px;border:1px solid #d6b98b;border-radius:10px;background:#f3e4ca}
.learning-strip strong{font-size:13px;color:#6e3549}
.diff-tabs{display:flex;flex-wrap:wrap;gap:6px}
.diff-tab{border:1px solid #bea57c;border-radius:6px;background:#fff8e9;color:#6b4650;font-weight:750;padding:8px 13px;min-height:39px;font-size:12px}
.diff-tab[aria-pressed="true"]{background:#713b54;color:#fff1d9;border-color:#713b54;box-shadow:0 2px 0 #3e2634}
.review-hero{background:linear-gradient(130deg,#f7ebd4,#e6cfaa);border:1px solid #d1ac72;border-radius:11px;padding:20px;display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center}
.review-stats{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}
.review-metric{flex:1 1 120px;background:#f3e7d2;border:1px solid #d5bea0;border-radius:8px;padding:14px}
.review-metric b{display:block;color:#703b52;font:700 26px Georgia,serif}
.review-metric small{color:#766362}
.review-list{display:grid;gap:8px;margin-top:18px}
.review-item{background:#f9eed9;border:1px solid #d4bb96;border-radius:9px;padding:12px 15px;display:flex;justify-content:space-between;gap:11px;align-items:center}
.review-item strong{font-size:14px;display:block;color:#573443}
.review-item small{display:block;color:#8a6c62;margin-top:4px}
.term-chip{display:inline-flex;border:1px solid #bf9c75;background:#fff4dc;color:#69364e;font-size:12px;min-height:31px;border-radius:999px;padding:5px 10px;align-items:center;gap:5px;cursor:pointer;font-weight:700}
.term-chip:focus-visible,.term-link:focus-visible{outline:3px solid #ca8a32;outline-offset:2px}
.term-chip:hover,.term-link:hover{background:#e9d1ac}
.term-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px}
.term-context{font-size:12px;color:#e2c2a1;margin-top:15px}
.term-link{border:0;border-bottom:1px dotted #b97739;border-radius:0;background:transparent;padding:0 2px;color:#8f384f;text-decoration:none;font:inherit;font-weight:800;display:inline;line-height:inherit;cursor:pointer}
.question .term-link{color:#fce29e;border-color:#fce29e}
.quiz-feedback .term-link{color:#86405b}
.term-tools{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0;align-items:center}
.term-search{flex:1 1 200px;min-width:0;border:1px solid #bfa37f;background:#fffaf0;padding:12px;border-radius:8px;color:#472c3c;min-height:46px}
.term-category{border:1px solid #bfa37f;background:#fffaf0;padding:11px;border-radius:8px;color:#472c3c;min-height:46px}
.glossary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.glossary-item{background:#fff7e7;border:1px solid #d1b88d;text-align:left;border-radius:9px;padding:15px;color:#523b42;box-shadow:0 2px 0 #d6bf95;min-height:135px}
.glossary-item:hover{background:#f5e6ca}
.glossary-item small{color:#907559;display:block;font-size:11px;letter-spacing:.05em}
.glossary-item strong{font:700 20px Georgia,"Yu Mincho",serif;color:#74344e;display:block;margin:5px 0}
.glossary-item span{font-size:12px;line-height:1.7;display:block}
.term-dialog{width:min(570px,calc(100vw - 28px));max-height:85vh;overflow:auto;border:2px solid #cba263;border-radius:12px;padding:0;background:#f8edd6;color:#382d34;box-shadow:0 30px 100px #000a}
.term-dialog::backdrop{background:#140d18be;backdrop-filter:blur(3px)}
.term-dialog-head{background:linear-gradient(120deg,#512d43,#2e2232);padding:20px 23px;color:#f6dfb0}
.term-dialog-head small{letter-spacing:.18em;color:#d9bd9c}
.term-dialog-head h3{font:700 30px Georgia,"Yu Mincho",serif;margin:6px 0}
.term-dialog-head p{margin:0;color:#eacfb6}
.term-dialog-body{padding:20px 23px}
.term-dialog-body p{line-height:1.85;margin:8px 0 16px}
.term-dialog-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;align-items:center}
.term-dialog-foot a{font-size:12px;color:#74344e;word-break:break-all}
.inline-hint{font-size:12px;color:#715553}
.study-pill{font-size:11px;background:#e6d2b0;border-radius:999px;padding:3px 8px;border:1px solid #be9e76;color:#623949;font-weight:750}
@media(max-width:720px){.glossary-grid{grid-template-columns:1fr}.review-hero{grid-template-columns:1fr}.learning-strip{padding:10px}.diff-tabs{width:100%}.diff-tab{flex:1 1 35%;padding:8px 6px}.review-item{align-items:flex-start}.term-dialog-head h3{font-size:25px}}



/* Ver.0.4: external vector assets */
.route-icon{width:77px;height:72px;object-fit:contain;display:block;filter:drop-shadow(0 4px 3px #241a2560)}
.wine-emblem img{width:60px;height:60px;object-fit:contain}
.mission-icon{width:30px;height:30px;object-fit:contain;vertical-align:middle}
.guest-icon{width:66px;height:66px;max-width:100%;object-fit:contain}
.guest-food-icon{width:46px;height:46px;object-fit:contain}

.choice-wine-icon{width:24px;height:24px;object-fit:contain;vertical-align:middle}

.account-link{display:inline-flex;text-decoration:none;align-items:center;background:#384e42;color:#ffebad;border-color:#b5a36c;white-space:nowrap}.sidebar a.navbtn{text-decoration:none}

/* Ver.0.5.1 Service 50: mission browser */
.service-list-header{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:10px;flex-wrap:wrap}
.service-list-header h3{margin:0}
.service-tools{display:grid;grid-template-columns:1fr;gap:7px;background:#f4e8d1;border:1px solid #d7bea1;border-radius:8px;padding:12px;margin-bottom:11px}
.service-tool-label{font-size:11px;font-weight:700;color:#694650}
.service-select,.service-search{width:100%;min-height:42px;box-sizing:border-box;border-radius:6px;border:1px solid #aa9477;padding:9px 10px;background:#fffdf7;color:#3d2b2d;font:inherit;font-size:13px}
.service-tools .btn{justify-self:start;margin-top:3px}
.service-list{max-height:450px;overflow-y:auto;overscroll-behavior:contain;padding-right:4px;scrollbar-gutter:stable}
.service-list .mission{width:100%;flex-shrink:0}
.service-list .mission:focus-visible{outline:3px solid #7b4161;outline-offset:1px}
.service-list .mission .mission-art{display:flex;justify-content:center;align-items:center;flex:0 0 34px}
.service-list .mission>span:last-child{min-width:0}
.service-list .mission b{font-size:13px}
.service-list .mission small{line-height:1.5;margin-top:2px}
@media(max-width:720px){.service-list{max-height:300px}.service-tools{padding:10px}}

/* Ver 0.5.2: collector archive — isolated from service / quiz UI. */
.codex-hero{background:linear-gradient(112deg,#31213a,#583247 55%,#7c4d41);color:#f5ebd9;border-radius:12px;padding:19px 21px;display:flex;gap:20px;align-items:center;justify-content:space-between;margin:18px 0;box-shadow:inset 0 0 0 1px #bc8b5c}
.codex-hero .eyebrow{color:#e7bd77}.codex-big-count{font:700 44px/1.15 Georgia,serif;color:#ffe0a0;margin:6px 0}.codex-big-count span{font:400 16px Georgia,serif;color:#f1d9b1}.codex-big-count span b{font:700 23px Georgia,serif}.codex-caption{font-size:12px;margin:0;color:#f3dfbd}.codex-hero-meter{width:110px;height:110px;border:8px solid #be9a61;border-radius:50%;display:grid;place-items:center;background:#1d1722;flex:0 0 auto}.codex-hero-meter>div{height:10px;background:#dabb76;max-width:79px;transition:width .2s;border-radius:5px;box-shadow:0 0 7px #dabb7699}
.codex-stamps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:14px 0 19px}.codex-stamp{padding:10px 7px;border-radius:8px;border:1px solid #bda78e;background:#f8f0df;color:#4b3436;display:flex;gap:7px;align-items:center;text-align:left;cursor:pointer;min-width:0}.codex-stamp:hover,.codex-stamp:focus-visible{outline:2px solid #ac8353;outline-offset:2px}.codex-stamp.complete{background:#fcf0c3;border-color:#bd9547}.codex-stamp-icon{width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:#e7dac7;display:grid;place-items:center}.codex-stamp-svg{width:27px;height:27px}.codex-stamp b{font-size:11px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.codex-stamp small{display:block;font-size:10px;color:#7b675b;margin-top:3px;white-space:nowrap}
.codex-toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0}.codex-toolbar label{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:700;color:#744c51}.codex-toolbar select,.codex-toolbar input{width:100%;min-width:0;border:1px solid #b7a28a;border-radius:6px;background:#fffaf1;color:#3f333b;font-size:13px;padding:10px 8px;min-height:41px}.codex-toolbar select:focus-visible,.codex-toolbar input:focus-visible{outline:2px solid #ad7c65;outline-offset:1px}.codex-results{display:flex;justify-content:space-between;gap:12px;color:#6a5054;font-size:12px;padding:6px 0 1px;flex-wrap:wrap}.codex-grid{align-items:stretch}.collector-card{min-height:340px;display:flex;flex-direction:column;padding:11px 12px 12px}.collector-card .collector-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;font:700 11px Georgia,serif;color:#937c5c;letter-spacing:.09em}.collector-rarity{font:700 9px/1.3 Georgia,serif;letter-spacing:.09em;color:#735d6c;border-radius:20px;border:1px solid #b8a38a;padding:3px 7px;background:#f6ead7}.collector-card.rarity-rare{border-color:#8f9db9;background:#f3f5f6}.collector-card.rarity-rare .collector-rarity{background:#d8e3f8;color:#365579}.collector-card.rarity-epic{border-color:#9c72ae;background:#f7eff9}.collector-card.rarity-epic .collector-rarity{background:#e9d3f5;color:#6b367c}.collector-card.rarity-legendary{border-color:#ce9d38;background:linear-gradient(140deg,#fff7dc,#f5e3b5);box-shadow:0 4px 0 #d7b164,0 0 0 1px #b6873f}.collector-card.rarity-legendary .collector-rarity{background:#9c6337;color:#fff2c5;border-color:#9c6337}.collector-card.locked{filter:none;opacity:1;background:#e8e3dd}.collector-card.locked .wine-emblem{filter:grayscale(1);color:#685f62;background:radial-gradient(#ded8d3,#bcb7b2)}.collector-card.locked h3{color:#827c7b}.collector-card.locked .collector-rarity{filter:grayscale(.5);opacity:.8}.collector-card .wine-emblem{height:67px;width:67px;margin:13px auto 9px}.collector-card .winecard-icon{width:55px;height:55px}.collector-zone{text-align:center;font:700 10px Georgia,serif;letter-spacing:.06em;color:#856b62;margin:1px 0 8px}.collector-card h3{min-height:43px;margin:0;font-size:17px;overflow-wrap:anywhere}.collector-card .cardtype{min-height:14px;margin-top:5px}.collector-card .cardrule{margin:10px 0}.collector-description{flex:1}.collector-description p{margin:0;font-size:11.5px;line-height:1.68}.collector-description dl{margin:0 0 11px;display:grid;grid-template-columns:39px 1fr;font-size:11.5px;gap:4px}.collector-description dd{margin:0}.collector-description dt{color:#937652}.collector-foot{border-top:1px dashed #d8c6a6;margin-top:12px;padding-top:8px;text-align:center;font:700 10px Georgia,serif;letter-spacing:.08em;color:#856f60}.collector-card.discovered .collector-foot{color:#6d6748}.codex-footnote{font-size:11px;color:#846d67;margin:4px 0 18px;line-height:1.65}
@media(max-width:1040px){.codex-stamps{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.codex-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.codex-stamps{grid-template-columns:repeat(2,minmax(0,1fr))}.codex-stamp b{font-size:11px}.codex-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.collector-card{min-height:355px}.collector-card h3{font-size:14px;min-height:38px}.collector-card .wine-emblem{height:56px;width:56px;margin:9px auto}.collector-card .winecard-icon{height:46px;width:46px}.collector-description dl{display:block}.collector-description dt{font-size:10px}.collector-description dd{font-size:11px;margin:0 0 4px}.collector-description p{font-size:10.5px}.codex-big-count{font-size:36px}.codex-hero-meter{width:72px;height:72px;border-width:6px}.codex-hero-meter>div{max-width:48px}}
@media(max-width:365px){.codex-grid{grid-template-columns:1fr}.codex-toolbar{grid-template-columns:1fr}.codex-stamps{grid-template-columns:1fr}}

/* Circular progress / readable region stamps */
.codex-hero-meter{border:none;position:relative;isolation:isolate;background:conic-gradient(#dfbc6f 0 var(--collection-percent,0%),#241b29 var(--collection-percent,0%) 100%)}
.codex-hero-meter:before{content:"";position:absolute;inset:9px;background:#1d1722;border-radius:50%;z-index:-1}
.codex-hero-meter>span{font:700 22px Georgia,serif;color:#ffe3a9}
@media(max-width:720px){.codex-hero-meter>span{font-size:16px}.codex-hero-meter:before{inset:6px}}

/* Ver.0.5.3: future stage policy; current Veneto remains free. */
.stage-policy{margin:13px 0 16px;padding:12px 14px;background:#f5eddb;border-left:4px solid #9b6b42;border-radius:5px;color:#473225;line-height:1.55}
.stage-policy strong{display:block;font-size:14px;color:#633a40;margin-bottom:4px}
.stage-policy p{font-size:12px;line-height:1.65;margin:5px 0}
.stage-policy .stage-policy-foot{font-size:11px;color:#695a53}
@media(max-width:720px){.stage-policy{padding:10px 12px;margin:10px 0 14px}}

/* Ver 0.5.4 stage catalogue: independent of game engine and saves */
.vq-stage-list-section{margin:15px 0 18px}.vq-stage-list-section h3{margin:0 0 9px;font-size:15px;color:#5e3a45}.vq-stage-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:9px}.vq-stage-card{min-width:0;padding:11px 12px;border:1px solid #c5ab89;border-radius:9px;background:#fff9ed;color:#51414a}.vq-stage-head{display:flex;align-items:center;justify-content:space-between;gap:7px}.vq-stage-head strong{font-size:13px}.vq-stage-status{white-space:nowrap;font-size:10px;padding:3px 7px;background:#efdfc5;border-radius:15px;color:#62434e}.vq-stage-card p{font-size:11px;line-height:1.45;margin:7px 0}.vq-stage-card small{display:block;color:#805e57;font-size:10px;line-height:1.55}.vq-stage-note{grid-column:1/-1;font-size:11px;color:#7b5954;margin:2px 0 0}@media(max-width:550px){.vq-stage-list{grid-template-columns:1fr}}

/* Ver.0.5.5: achievements. Scope selectors to avoid game-wide regressions. */
.side-equipped-title{display:inline-block;margin-top:6px;padding:3px 7px;border:1px solid #caaf78;border-radius:6px;background:#342638;color:#ffe4ae;font-size:12px;line-height:1.5}
.hub-equipped-title{font-size:13px;margin:7px 0;color:#744a55}.hub-equipped-title strong{color:#5e3753}
.achievement-hero{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px;background:linear-gradient(110deg,#31243b,#634154);border:1px solid #bd975d;border-radius:12px;color:#ffedce;margin:20px 0 10px}
.achievement-hero .eyebrow{color:#e8c78c}.achievement-hero h3{font-size:25px;margin:8px 0;color:#fff0c9}.achievement-hero p{margin:6px 0;color:#f8e7d2;font-size:14px}.achievement-hero p strong{color:#ffdda0}.achievement-hero p.achievement-stats{font-size:11px;line-height:1.6}
.achievement-hero-count{text-align:right;white-space:nowrap;font:700 24px Georgia,serif;color:#f9d49c}.achievement-hero-count b:first-child{font-size:39px}.achievement-hero-count small{display:block;font:700 12px sans-serif;color:#efe4d8}
.achievement-meter{height:7px;overflow:hidden;border-radius:30px;background:#d7c8b5}.achievement-meter span{display:block;height:100%;background:#b48b54;transition:width .2s}.achievement-main-meter{height:11px;margin-bottom:19px;background:#d0c1a8}.achievement-main-meter span{background:#83604e}
.achievement-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:14px}.achievement-filters button[aria-pressed=true]{background:#5e374a;color:#fff2d8;border-color:#5e374a}.achievement-filters small{margin-left:auto;color:#69545b}
.achievement-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;align-items:stretch}
.achievement-card{display:flex;flex-direction:column;gap:8px;min-height:191px;padding:14px;border:1px solid #cdbda8;background:#fbf5e9;border-radius:10px;color:#59434c;min-width:0}
.achievement-card.is-earned{background:linear-gradient(144deg,#fff9eb,#faeccd);border-color:#c49d58}.achievement-card.is-equipped{box-shadow:inset 0 0 0 2px #af7e48}
.achievement-group{font-size:11px;color:#795c63;font-weight:700}.achievement-card h3{margin:0;color:#613a4b;font-size:16px;overflow-wrap:anywhere}.achievement-card p{font-size:11px;line-height:1.7;margin:0;flex-grow:1;color:#725f60}.achievement-card.is-locked{background:#eae5dc;color:#7b7372;border-color:#c9c4bd}.achievement-card.is-locked h3{color:#797578}
.achievement-card .achievement-bottom{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:3px}.achievement-card .achievement-bottom small{font:700 11px sans-serif;color:#5d4a50}.achievement-card .achievement-bottom button{font-size:11px;padding:8px 10px;min-height:32px}.achievement-card .achievement-bottom button:disabled{opacity:.67;cursor:default}
.achievement-note{font-size:11px;line-height:1.8;color:#715e65;margin-top:18px}
@media(max-width:950px){.achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.achievement-grid{grid-template-columns:1fr}.achievement-hero{padding:14px;align-items:flex-start}.achievement-hero h3{font-size:20px}.achievement-hero-count b:first-child{font-size:30px}.achievement-filters small{margin-left:0;width:100%}}

/* v0.5.8: daily learning goals and achievement moments; cosmetic only */
.daily-panel{margin:16px 0 0;padding:15px;border:1px solid #d0a967;border-radius:12px;color:#553f44;background:linear-gradient(135deg,#fff8e8,#f2e0bd);box-shadow:0 2px 0 #c9a57b}
.daily-panel .eyebrow{color:#805945}.daily-panel .daily-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.daily-head h3{font:700 21px Georgia,"Yu Mincho",serif;color:#653c50;margin:4px 0 3px}.daily-head p{font-size:11px;color:#80655a;margin:0}
.daily-streak{flex:0 0 auto;min-width:64px;display:flex;flex-direction:column;align-items:center;border-radius:10px;padding:7px 9px;background:#59364b;color:#ffdf9f;border:1px solid #9b794b}.daily-streak b{font:700 29px Georgia,serif}.daily-streak span{font-size:10px;color:#f7e3c8}
.daily-stamp-line{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;margin:11px 0 8px;font-size:12px;color:#66475a;font-weight:700}
.daily-tasks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.daily-task{display:flex;flex-direction:column;justify-content:space-between;align-items:stretch;gap:9px;padding:9px 10px;background:#fffcf5;border:1px solid #decbb0;border-radius:8px}
.daily-task>div{display:grid;grid-template-columns:18px 1fr;column-gap:5px;align-items:center;min-width:0}.daily-task>div>b{color:#7b5d4f;font-size:18px;grid-row:1/span 2}.daily-task strong{font-size:12px;color:#624150}.daily-task small{font-size:10px;line-height:1.5;color:#806d62;min-width:0}.daily-task .btn{flex:0 0 auto;width:100%;min-height:34px;padding:7px 10px;font-size:11px}.daily-task .btn:disabled{opacity:.6}
.daily-note{font-size:11px;line-height:1.6;margin:9px 0 0;color:#796356}
.collector-card.daily-featured{outline:3px solid #bb8d35;outline-offset:-2px}.daily-read{display:block;width:100%;margin:9px 0 0;min-height:36px}.daily-read:disabled{opacity:.7}
.milestone[hidden]{display:none!important}.milestone{position:fixed;z-index:400;inset:auto 12px 28px;max-width:465px;margin:auto;pointer-events:auto;cursor:pointer;color:#fff2d8;filter:drop-shadow(0 12px 27px #1b1122b8)}
.milestone-inner{padding:19px 25px;border-radius:16px;text-align:center;background:linear-gradient(120deg,#39273c,#76513f);border:2px solid #dab779;box-shadow:inset 0 0 0 3px #563b4b}
.milestone-sparkle{font:700 22px Georgia,serif;color:#ffe1a0}.milestone-title{font:700 21px Georgia,"Yu Mincho",serif;margin-top:3px;color:#ffe0a0;letter-spacing:.04em}.milestone p{margin:8px auto 0;line-height:1.6;font-size:13px}
.milestone-animate{animation:vq-achieve-in .55s ease-out both}@keyframes vq-achieve-in{from{opacity:0;transform:translateY(22px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:720px){.daily-tasks{grid-template-columns:1fr}.daily-task{flex-direction:row;align-items:center}.daily-task .btn{width:auto}}
@media(max-width:560px){.daily-panel{padding:11px}.daily-head h3{font-size:18px}.daily-task{padding:8px}.daily-task .btn{padding:7px 8px}.milestone{inset:auto 10px 15px}}
@media(prefers-reduced-motion:reduce){.milestone-animate{animation:none}.collector-card.daily-featured{scroll-behavior:auto}}

/* VINO QUEST 0.6.0 — CASA DEL SOMMELIER and scene-based routes */
.home-room-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 8px}
.home-room-links button{background:#f6ead0;border:1px solid #bc9f77;border-radius:9px;color:#513944;text-align:left;padding:11px 12px;font:700 13px/1.4 system-ui,sans-serif;cursor:pointer;box-shadow:0 2px 0 #ba9a72}
.home-room-links button span{display:block;font-weight:500;font-size:11px;color:#70585b;padding-left:1.7em}
.home-room-links button:hover,.home-room-links button:focus-visible{background:#eed5ad;border-color:#83506a;outline-offset:2px}
.map-canvas{aspect-ratio:2/1;image-rendering:pixelated;cursor:pointer}
.route-art{height:164px;background:#8fa5a2;overflow:hidden;isolation:isolate}
.route-art:after{display:none}
.route-scene-img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;image-rendering:auto}
.route-place-tag{position:absolute;left:12px;bottom:11px;max-width:calc(100% - 24px);color:#fff6dc;background:#352a3ada;border:1px solid #ceb28b94;border-radius:5px;padding:5px 9px;font:700 10px/1.4 system-ui,sans-serif;letter-spacing:.1em;text-shadow:0 1px 1px #0008;z-index:1}
.route-landmark{font-size:12px;font-weight:800;color:#69454e;line-height:1.4;margin-top:9px}
.route-body>p{min-height:45px;line-height:1.65}
.travel-scene-note{color:#644c50;font-size:12px;line-height:1.7;margin:8px 0}
@media(max-width:720px){.home-room-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.home-room-links button{font-size:12px;padding:10px 8px}.route-art{height:140px}.route-body>p{min-height:0}}
@media(max-width:360px){.home-room-links{grid-template-columns:1fr 1fr}}

.vq-stage-preview{position:relative;overflow:hidden;margin:-11px -12px 10px;background:#a5aca0;height:90px;border-radius:8px 8px 0 0}
.vq-stage-preview-img{width:100%;height:100%;object-fit:cover;display:block}
.vq-stage-preview-place{position:absolute;bottom:7px;left:8px;right:8px;font-size:10px;font-weight:700;line-height:1.4;color:#fff9e8;text-shadow:0 1px 2px #000;background:#342e3bad;border-radius:5px;padding:4px 7px;max-width:max-content}

/* Ver.0.6.1 - Selectable male/female sommelier sprites. */
.avatar-selection{margin:17px 0 18px;padding:18px;background:linear-gradient(135deg,#f9edd6,#eddbbc);border:1px solid #c9a275;border-radius:12px;box-shadow:0 2px 0 #d5b988}
.avatar-head{display:flex;align-items:end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.avatar-head h3{font:700 21px Georgia,'Yu Mincho',serif;color:#6f3450;margin:5px 0 0}
.avatar-head small{font-size:12px;color:#82655a}
.avatar-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.avatar-choice{cursor:pointer;border:2px solid #c5a784;border-radius:10px;background:#fff7e8;display:flex;flex-direction:column;align-items:center;padding:10px 8px 12px;color:#583943;min-height:190px;gap:4px;transition:background-color .15s,border-color .15s,box-shadow .15s}
.avatar-choice[aria-pressed="true"]{border-color:#8b3b59;background:#ffe8df;box-shadow:0 0 0 3px #8b3b5930,0 4px 0 #c08e77}
.avatar-choice:hover{border-color:#99506a}
.avatar-choice:focus-visible{outline:3px solid #9b7241;outline-offset:3px}
.avatar-art{display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:8px;min-height:158px;width:min(100%,190px);background:radial-gradient(circle at 50% 38%,#eac9a9,#b99991 75%,#80636c);border:2px solid #ffffff9c}
.avatar-art img{width:120px;height:160px;object-fit:contain;image-rendering:pixelated;image-rendering:crisp-edges;filter:drop-shadow(0 8px 3px #34263155)}
.avatar-choice strong{font-size:15px}
.avatar-choice>span:last-child{font:italic 12px Georgia,serif;color:#946e68}
.avatar-note{font-size:12px;color:#75594a;margin:12px 0 0}
.hub-avatar-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:8px 11px;margin:8px 0;background:#f6e8cb;border-radius:8px;border:1px solid #c9ae83;color:#70485a;font-size:13px}
.hub-avatar-tools strong{color:#793c56}
@media(max-width:720px){.avatar-selection{padding:12px}.avatar-options{gap:7px}.avatar-choice{min-height:175px}.avatar-art{min-height:140px}.avatar-art img{width:108px;height:144px}.avatar-choice strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){.avatar-choice{transition:none}}

/* In-hub readable portrait so the chosen hero is recognizable even on a wide map. */
.hub-player-card{display:flex;align-items:center;gap:9px;margin-bottom:11px}
.hub-player-art{flex:0 0 75px;width:75px;min-height:102px;border:1px solid #c3a57a;border-radius:8px;background:radial-gradient(circle,#f0d1b1,#c9a495);display:flex;align-items:center;justify-content:center;overflow:hidden}
.hub-player-art img{width:72px;height:96px;object-fit:contain;image-rendering:pixelated}
.hub-player-text{min-width:0;overflow-wrap:anywhere}
.hub-player-text b{display:block;font-size:13px;color:#703b50;line-height:1.5}
.hub-player-text .hub-equipped-title{font-size:11px}


/* VINO QUEST 0.6.2 — protagonist expression / five regional guide conversations */
.npc-diary{margin:15px 0 -4px;background:#ede0c8;border:1px solid #caa86d;border-radius:8px;padding:11px 15px;color:#683b54;font-weight:800;font-size:14px}
.route-meta{flex-wrap:wrap}
.npc-meet-button{white-space:normal;text-align:center}
.character-reaction{display:flex;align-items:center;gap:12px;min-height:80px;border:1px solid #bc9770;border-radius:10px;padding:7px 12px;background:linear-gradient(105deg,#fff1d7,#f2ddbc);color:#523045;margin:7px 0 13px}
.character-reaction img{width:55px;height:72px;object-fit:contain;image-rendering:pixelated;flex:0 0 55px;filter:drop-shadow(0 3px 0 #24172235)}
.character-reaction .reaction-speech{font-weight:800;font-size:14px;line-height:1.6}
.reaction-pop{animation:vqReactPop .24s ease-out both}
@keyframes vqReactPop{from{transform:translateY(4px);opacity:.55}to{transform:none;opacity:1}}
.service-reaction{margin:0 0 12px}
.milestone-avatar{float:left;width:62px;height:81px;object-fit:contain;image-rendering:pixelated;margin:0 10px 0 0}
.npc-dialog{width:min(610px,calc(100vw - 20px));max-height:94dvh;overflow:auto;padding:0;border:2px solid #c59b53;border-radius:14px;background:#fbefd9;color:#34232a;box-shadow:0 30px 90px #000b}
.npc-dialog::backdrop{background:#160d1bba;backdrop-filter:blur(3px)}
.npc-dialog-head{display:flex;justify-content:space-between;align-items:center;padding:13px 18px;background:#f8e8cb;border-bottom:1px solid #d4b783}
.npc-close{background:#6b3b52;border:1px solid #55243a;color:#fff9e7;border-radius:7px;font-size:24px;line-height:1;min-width:40px;min-height:40px}
.npc-scene{min-height:178px;display:flex;gap:16px;align-items:end;padding:16px 18px;background-color:#3d3749;background-size:cover;background-position:center;color:#fff7df}
.npc-portrait-frame{height:152px;width:117px;background:#ead5b2;border:4px solid #e2ba76;box-shadow:0 4px 0 #261c33;display:grid;place-items:center;overflow:hidden;border-radius:6px;flex:0 0 117px}
.npc-portrait-frame img{width:108px;height:145px;object-fit:contain;image-rendering:pixelated}
.npc-character{min-width:0;padding-bottom:13px;text-shadow:0 2px 6px #120b1d}
.npc-character .npc-italian{letter-spacing:.08em;font-size:10px;color:#e7cca1;font-weight:700}
.npc-character h3{font:700 27px/1.4 Georgia,'Yu Mincho',serif;color:#ffdc91;margin:3px 0}
.npc-character p{font-size:13px;margin:3px 0}
.npc-dialog-body{padding:20px}
.npc-line{min-height:64px;font-size:16px;font-weight:750;line-height:1.85;margin:0 0 14px}
.npc-choices{display:grid;gap:9px;margin:12px 0}
.npc-choice{padding:11px 13px;border:1px solid #c9a77d;border-radius:8px;background:#fff8eb;color:#533847;text-align:left;font-weight:750;min-height:49px}
.npc-choice:hover:not(:disabled),.npc-choice:focus-visible{border-color:#733a50;outline:2px solid #b47683;outline-offset:1px}
.npc-choice.is-correct{background:#dbf1df;border-color:#478567;color:#1b5239;opacity:1}
.npc-choice.is-wrong{background:#f5d6d1;border-color:#b96467;color:#792e35;opacity:1}
.npc-feedback{background:#f0ddbb;border-left:4px solid #a27b45;border-radius:4px;padding:11px;color:#583b3c;font-size:13px;line-height:1.65}
.npc-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}
.npc-note{display:block;margin-top:15px;font-size:11px;color:#6c625e}
.npc-source{display:inline-block;font-size:12px;margin-top:8px;color:#773950}
@media(max-width:510px){.npc-scene{gap:10px;min-height:155px;padding:11px}.npc-portrait-frame{width:88px;height:120px;flex-basis:88px}.npc-portrait-frame img{width:84px;height:116px}.npc-character h3{font-size:22px}.npc-dialog-body{padding:14px}.npc-line{font-size:14px}.npc-choices{gap:7px}.character-reaction{padding:6px 8px}.character-reaction .reaction-speech{font-size:12px}}
@media(prefers-reduced-motion:reduce){.reaction-pop{animation:none!important}.npc-dialog::backdrop{backdrop-filter:none}}

/* Ver.0.6.3 — Veneto's five-glass story quest. */
.btn-story{color:#fff8e8;background:linear-gradient(125deg,#7b3454,#a36e44);border:1px solid #6c3650;box-shadow:0 2px 0 #46243c;}
.btn-story:hover:not(:disabled){filter:brightness(1.08)}
.btn-story:disabled{background:#907f7b;color:#fff7e4;opacity:.8;cursor:not-allowed}
.story-travel-link{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:12px 14px;margin:11px 0;border:1px solid #a67a62;border-radius:9px;background:#f7e7d0;color:#643f4c;font-weight:750;font-size:13px}
.story-banner{display:flex;justify-content:space-between;gap:16px;align-items:center;overflow:hidden;border:2px solid #b9945c;border-radius:16px;background:radial-gradient(ellipse at 100% 50%,#73516a 0%,#36253b 62%,#291d30 100%);color:#f3dfb4;padding:19px 23px;margin:-3px -3px 19px}
.story-banner-copy{max-width:650px}.story-banner .eyebrow{color:#e8bf77}.story-banner h2{font-size:clamp(23px,3vw,34px);color:#ffe1a3;margin:8px 0}.story-banner p{margin:0;color:#ffefdc;font-size:14px;line-height:1.9}.story-banner img{width:110px;height:146px;object-fit:contain;image-rendering:pixelated;flex:0 0 110px;filter:drop-shadow(0 7px 4px #150e20)}
.story-progress-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,38%);gap:15px;align-items:center;background:#f8eddb;border:1px solid #d3b688;border-radius:10px;padding:12px 15px;color:#643a51}
.story-progress-row strong,.story-progress-row small{display:block}.story-progress-row small{color:#886e6c;margin-top:2px;font-size:12px}
.story-progress-track{height:12px;border:1px solid #bc9c6f;background:#e0ceb0;border-radius:12px;overflow:hidden}.story-progress-track span{display:block;background:linear-gradient(90deg,#8b4162,#d2a454);height:100%;width:0;transition:width .35s ease}
.story-section-title{color:#6d3e57;font:700 22px Georgia,'Yu Mincho',serif;margin:25px 0 9px}
.story-chapters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 24px}
.story-memory{display:flex;gap:12px;align-items:flex-start;background:#fff4e3;border:1px solid #caaa7c;border-radius:11px;padding:12px;min-width:0;box-shadow:0 2px 0 #d8c09b}.story-memory-earned{border-color:#a66f64;background:linear-gradient(115deg,#ffefd9,#f5dcc3)}.story-memory-locked{opacity:.86}
.story-memory img{width:67px;height:91px;object-fit:contain;image-rendering:pixelated;background:#e6cfa8;border-radius:8px;border:1px solid #bda278;flex:0 0 67px}
.story-memory>div{min-width:0}.story-memory-chapter{font-size:10px;letter-spacing:.06em;font-weight:800;color:#88576a}.story-memory h4{margin:6px 0;color:#6a3b53;font-size:16px}.story-memory p{line-height:1.65;font-size:12px;margin:0 0 7px;color:#634b4a}.story-memory small{display:block;font-size:11px;color:#816c60;line-height:1.6;margin-bottom:8px}
.story-gate{padding:25px;border-radius:14px;background:linear-gradient(140deg,#392639,#5b3450 65%,#8b5b48);color:#fceacb;border:2px solid #c9a56a;box-shadow:0 4px 0 #2b1e2f}.story-gate h3{font:700 27px Georgia,'Yu Mincho',serif;color:#f9d89a;margin:10px 0}.story-gate p{line-height:1.8;font-size:14px;color:#f5e9df}.story-gate .eyebrow{color:#eed0a4}.story-gate-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.story-record{font-size:12px;color:#e4cbaf}
.story-boss{margin:18px 0;padding:19px;border-radius:13px;border:2px solid #bc995f;background:#f8ebd5;color:#4b2f3e}.story-boss-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.story-boss-top .eyebrow{color:#905b6c}.story-boss h3{font-size:23px;color:#793d57;margin:6px 0}.story-boss-top p{color:#765c58;font-weight:700;font-size:12px}.story-mask{font-size:36px}.story-boss-meter{height:9px;background:#e0c7a8;border-radius:99px;overflow:hidden}.story-boss-meter span{display:block;width:0;height:100%;background:linear-gradient(90deg,#873c57,#c19e60);transition:width .2s ease}.story-narration{padding:12px 14px;background:#f1dcc0;border-left:4px solid #a16c64;font-weight:700;line-height:1.75;border-radius:6px}.story-guest{font-size:17px;font-weight:750;line-height:1.8;color:#623d4d;padding:12px;background:white;border:1px solid #ddc39f;border-radius:9px}.story-boss h4{font-size:17px;margin:17px 0 10px;color:#56374b}.story-choices{display:grid;gap:9px}.story-choice{width:100%;display:block;text-align:left;border-radius:9px;padding:13px 16px;background:#fffaf0;border:1px solid #be9f73;color:#5f384e;font-weight:750;line-height:1.55;cursor:pointer}.story-choice:hover:not(:disabled),.story-choice:focus-visible{background:#fbe7ce;border-color:#7e4a5b;outline-offset:2px}.story-choice:disabled{cursor:default;opacity:.66}.story-choice.is-right{opacity:1;background:#e0f0df;border-color:#4c9266;color:#24563c}.story-choice.is-other{opacity:1;background:#f5dcd6;border-color:#ba756d;color:#80374b}.story-feedback{background:#f2e2c4;border:1px solid #c8a678;border-radius:9px;margin:15px 0;padding:13px;line-height:1.7;font-size:13px}.story-feedback strong{color:#723b50}.story-feedback p{margin:6px 0}.story-boss-actions{display:flex;flex-wrap:wrap;gap:11px;margin-top:17px}
.story-ending{text-align:center;border:2px solid #cba55c;background:radial-gradient(circle at 50% 0%,#73516a 0%,#332339 68%);border-radius:17px;color:#f4e8dc;padding:25px 20px;margin-top:18px;box-shadow:0 7px 0 #d9bda1}.story-ending-crown{color:#e9c16f;font-size:32px;letter-spacing:.15em}.story-ending .eyebrow{color:#dfbd87}.story-ending h3{font:700 clamp(22px,3.5vw,33px) Georgia,'Yu Mincho',serif;color:#ffe3a1;margin:10px 0}.story-ending small{font:italic 14px Georgia,serif;color:#d9bd86;letter-spacing:.13em}.story-ending p{line-height:1.95;max-width:660px;margin:17px auto;font-size:14px}.story-ending .story-score{font-weight:800;color:#efd29e}.story-ending .story-boss-actions{justify-content:center}.story-ending .btn-ghost{background:#604058;color:#fff0d3;border-color:#b38d7a}.story-footnote{color:#776a67;font-size:11px;line-height:1.8;margin:17px 0}
@media(max-width:720px){.story-chapters{grid-template-columns:1fr}.story-banner{padding:16px}.story-banner img{width:85px;height:113px;flex-basis:85px}.story-gate{padding:17px}.story-progress-row{grid-template-columns:1fr}.story-boss{padding:13px}}
@media(max-width:370px){.story-banner img{width:63px;height:94px;flex-basis:63px}.story-memory img{width:57px;height:80px;flex-basis:57px}}
@media(prefers-reduced-motion:reduce){.story-progress-track span,.story-boss-meter span{transition:none!important}}

/* Ver.0.6.4.8 MY CANTINA · decorative game-only economic layer */
.vq-cantina-panel{max-width:1100px;margin:0 auto}
.vq-cantina-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap;margin-bottom:18px}
.vq-cantina-head p{color:#755b59;font-size:13px;margin:8px 0}.vq-cantina-head .heading{margin:6px 0 3px}
.vq-wallet{display:flex;align-items:center;gap:7px;padding:12px 18px;border:2px solid #b69250;border-radius:12px;background:linear-gradient(#483240,#241d2a);color:#ffe9a9;box-shadow:0 4px 0 #ad8d5f;font-size:24px}
.vq-wallet strong{font-variant-numeric:tabular-nums}.vq-wallet small{font-size:12px;align-self:flex-end;margin-bottom:3px}
.vq-shop-tabs{display:flex;gap:6px;overflow-x:auto;padding:0 0 12px;border-bottom:1px solid #cfb597;scrollbar-width:thin}
.vq-shop-tabs button{flex:0 0 auto;background:#f0dec2;border:1px solid #d4b889;padding:10px 12px;color:#694656;border-radius:9px;font-weight:800;min-height:40px;white-space:nowrap}
.vq-shop-tabs button[aria-pressed="true"]{background:#7e3e59;color:#fff6e5;border-color:#73334b;box-shadow:0 3px 0 #ac8154}
.vq-shop-content{padding-top:20px}.vq-shop-content h3{color:#61354a;font-size:18px;margin:20px 0 10px}
.vq-item-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:12px}
.vq-item-card{display:grid;grid-template-rows:auto 1fr auto;gap:9px;border:1px solid #cfb391;border-radius:12px;background:linear-gradient(145deg,#fffae9,#efe0c6);box-shadow:0 3px 0 #d4b78b;padding:13px;min-height:206px}
.vq-item-card.is-owned{border-color:#8e9d74;background:linear-gradient(135deg,#f8f7e6,#e6e9d1)}
.vq-item-card h3{font-size:15px;margin:2px 0 6px}.vq-item-card p{font-size:12px;line-height:1.65;color:#705956;margin:0 0 5px}.vq-item-card small{font-size:10px;color:#8b6e61}
.vq-item-icon{width:44px;height:44px;display:grid;place-items:center;border:2px solid #d8b989;border-radius:10px;font-size:27px;background:#f7e9d2;image-rendering:pixelated}
.vq-item-buy{margin-top:8px}.vq-item-buy .btn{width:100%;min-height:39px}.vq-item-buy .btn:disabled{opacity:.58;cursor:not-allowed}
.vq-owned{font-size:13px;color:#527143;font-weight:800}
.vq-cantina-room{position:relative;overflow:hidden;width:100%;aspect-ratio:16/8.7;min-height:245px;border-radius:13px;border:9px solid #533a3b;background:linear-gradient(180deg,#322332 0 9%,#6c4a4c 9% 65%,#5d493d 65%);box-shadow:inset 0 0 24px #0009,0 5px 0 #2d252e;isolation:isolate}
.vq-cantina-room::before{content:"";position:absolute;inset:10% 0 20%;z-index:0;background:repeating-linear-gradient(0deg,transparent 0 22px,#3f2c3247 22px 24px),repeating-linear-gradient(90deg,transparent 0 75px,#3e2c3247 75px 78px)}
.vq-cantina-room.expanded{background:linear-gradient(180deg,#302438 0 9%,#7a5459 9% 65%,#6b513e 65%);border-color:#b48b58}
.vq-cantina-back{position:absolute;inset:0 0 30%;z-index:1}
.vq-cellar-arch{position:absolute;left:37%;top:8%;width:26%;height:88%;background:linear-gradient(#8b6657,#4c3340);border:12px solid #9b8066;border-bottom:0;border-radius:90px 90px 0 0;box-shadow:inset 0 0 20px #0006;}
.vq-cellar-arch::before{content:"";position:absolute;inset:20%;border-top:5px solid #a69b73;border-radius:60px}
.vq-cantina-racks{position:absolute;inset:10% 1% 15%;z-index:2}
.vq-cantina-floor{position:absolute;inset:66% 0 0;z-index:0;background:repeating-linear-gradient(90deg,transparent 0 70px,#5d453d85 70px 73px),repeating-linear-gradient(0deg,#9c7456 0 19px,#724f41 19px 37px);clip-path:polygon(0 0,100% 0,100% 100%,0 100%);opacity:.75}
.vq-scene-prop{position:absolute;display:block;font-size:clamp(21px,4vw,52px);filter:drop-shadow(2px 3px 0 #231a22);line-height:1.3;z-index:4}
.vq-scene-prop.p-painting{top:27%;right:5%;padding:2px 7px;border:5px solid #d1ae6d;background:#7b6773}.vq-scene-prop.p-lamp{top:40%;left:12%;filter:drop-shadow(0 0 8px #ffd58d)}.vq-scene-prop.p-chandelier{top:4%;left:48%;filter:drop-shadow(0 0 14px #fff3b3)}
.vq-scene-prop.p-rack,.vq-scene-prop.p-reserve{white-space:nowrap;text-align:center;line-height:1.7;font-size:clamp(13px,2.4vw,29px);padding:8px 9px;border:9px solid #9c6c44;background:repeating-linear-gradient(0deg,#523936 0 25px,#9e754c 25px 31px);box-shadow:2px 5px 0 #2c2627}
.vq-scene-prop.p-rack{top:22%;left:3%}.vq-scene-prop.p-reserve{top:22%;right:3%;border-color:#ceac6c}.vq-scene-prop.p-barrel{top:57%;left:16%}.vq-scene-prop.p-flower{top:49%;right:22%}.vq-scene-prop.p-glass{top:59%;right:40%}
.vq-cellar-table{position:absolute;left:31%;right:29%;bottom:13%;height:21%;z-index:3;border:9px solid #6a3d34;border-radius:7px;background:linear-gradient(#ba8355 0 30%,#86553c 31%);display:flex;align-items:flex-start;justify-content:space-evenly;font-size:clamp(24px,4vw,47px);filter:drop-shadow(4px 5px 0 #352128a8)}
.vq-cantina-showcase{background:#ead9bb;border:1px solid #c6ac87;border-radius:11px;padding:12px;margin:18px 0 27px}.vq-cantina-showcase h3{margin:3px 0 10px;font-size:16px}
.vq-exhibited{display:flex;flex-wrap:wrap;gap:10px}.vq-exhibit-card{border:2px ridge #bb935b;border-radius:8px;padding:10px 14px;background:#4d3447;color:#ffe4aa;font-size:12px;font-weight:800;max-width:200px}
.vq-outfit-stage{display:flex;align-items:center;gap:28px;border:1px solid #cbaf84;background:#f6e5c9;border-radius:12px;padding:17px;margin:8px 0 18px}.vq-outfit-preview{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;background:#ead8ba;border:4px ridge #9f7555;border-radius:11px;min-width:155px;max-width:185px;height:230px}.vq-outfit-preview img{width:145px;height:194px;object-fit:contain;image-rendering:pixelated}.vq-outfit-preview span{font-size:10px;color:#663f54;min-height:19px}
.vq-outfit-stage p{font-size:13px;color:#6e5455;line-height:1.8}.vq-has-hat:after{content:'👒';position:absolute;top:-5px;left:32%;font-size:20px;pointer-events:none}.vq-has-badge:before{content:'✦';position:absolute;top:30%;right:20%;font-size:12px;color:#e8c868;pointer-events:none}.hub-player-art{position:relative}
.vq-hint{font-size:13px;color:#795f5c;line-height:1.7}.vq-memory-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.vq-memory,.vq-guest,.vq-tools-grid article{padding:15px;border:1px solid #c9a987;background:#f7e7cd;border-radius:10px}.vq-memory b{font-size:16px;color:#673749}.vq-memory p,.vq-guest p{font-size:13px;line-height:1.7;color:#6b5652}.vq-guest small{display:block;margin:8px 0;font-size:11px;color:#7e644f}
.vq-guest-answers{display:grid;gap:8px;margin-top:13px}.vq-guest-answers .btn{white-space:normal;text-align:left}
.vq-collection-list{display:flex;flex-wrap:wrap;gap:8px;max-height:320px;overflow:auto}.vq-collection-card{padding:9px 12px;border:1px solid #b7a188;border-radius:7px;background:#f9efde;color:#714b51;text-align:left;font-size:12px;min-height:37px}.vq-collection-card.selected{border-color:#658558;background:#e4ead6;color:#476a40;font-weight:800}
.vq-section-lead{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap}.vq-tools-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}.vq-tools-grid article p{font-size:12px;line-height:1.7}.vq-tools-grid a.btn{display:inline-flex;align-items:center;text-decoration:none;margin:6px}
.vq-story-note{position:sticky;bottom:8px;background:#3b2940;color:#ffe5b0;border:2px solid #caab78;border-radius:12px;margin-top:16px;padding:14px 17px;font-size:14px;line-height:1.9;box-shadow:0 5px 15px #0003;z-index:5}.vq-story-note button{display:block;margin-top:10px;color:#ffe5b0;border-color:#96788d}
.vq-shop-policy{color:#837571;font-size:11px;line-height:1.8;border-top:1px solid #cfb79a;padding-top:16px;margin-top:22px}
@media(max-width:620px){.vq-item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.vq-item-card{padding:9px;min-height:228px}.vq-item-card h3{font-size:13px}.vq-item-card p{font-size:11px}.vq-item-buy .btn{font-size:11px;padding:7px;min-height:42px}.vq-outfit-stage{flex-direction:column;align-items:flex-start}.vq-cantina-room{aspect-ratio:4/3;min-height:210px}.vq-scene-prop.p-rack,.vq-scene-prop.p-reserve{border-width:4px;padding:3px}.vq-cellar-table{border-width:5px}.vq-wallet{font-size:18px;padding:8px 12px}}
@media(max-width:370px){.vq-item-grid{grid-template-columns:1fr}.vq-item-card{min-height:0;grid-template-columns:40px 1fr;grid-template-rows:auto auto}.vq-item-icon{grid-row:span 2}.vq-item-buy{grid-column:2}}
.vq-wall-exhibits{position:absolute;z-index:3;top:8%;left:31%;right:31%;display:flex;justify-content:center;gap:5px;align-items:flex-start;flex-wrap:wrap;pointer-events:none}
.vq-wall-exhibit{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:clamp(30px,4vw,72px);min-height:clamp(42px,6vw,84px);background:#392b3b;border:4px ridge #c39a59;color:#f6dab2;font-size:clamp(12px,2vw,21px);box-shadow:2px 3px 0 #231c22}
.vq-wall-exhibit small{font-size:clamp(6px,.8vw,9px);line-height:1.1;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vq-souvenir-ledge{position:absolute;z-index:4;left:35%;right:30%;bottom:22%;display:flex;align-items:center;justify-content:center;gap:4px;min-height:25px;border-bottom:5px solid #a87b57;font-size:clamp(13px,2vw,24px);filter:drop-shadow(2px 2px 0 #231a22)}
.vq-outfit-preview.vq-has-hat:after{top:3px;left:40%;z-index:2}.vq-outfit-preview.vq-has-badge:before{top:38%;right:35%;z-index:2;font-size:16px}


/* Ver.0.6.5.0 · MY CANTINA refined layout */
.vq-item-visual{display:flex;align-items:center;justify-content:center;min-height:72px}
.vq-item-visual img{width:72px;height:72px;image-rendering:pixelated;filter:drop-shadow(0 3px 0 #3a2920)}
.vq-item-visual span{font-size:44px;line-height:1}
.vq-cellar-stage{position:relative;overflow:hidden;width:100%;aspect-ratio:16/9;min-height:320px;border-radius:18px;border:9px solid #533a3b;background:linear-gradient(180deg,#291f24 0,#60454a 50%,#7b5a44 100%);box-shadow:inset 0 0 30px #0007,0 6px 0 #2d252e;isolation:isolate;margin-bottom:18px}
.vq-cellar-stage.is-expanded{border-color:#b48b58;background:linear-gradient(180deg,#261d24 0,#6a4d52 50%,#88654d 100%)}
.vq-cellar-wall{position:absolute;inset:0 0 34%;background:linear-gradient(180deg,#35242e 0,#6a4a52 100%);z-index:0}
.vq-cellar-floor{position:absolute;inset:68% 0 0;background:linear-gradient(180deg,#8d684e 0,#775642 100%);z-index:0}
.vq-cellar-floor::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,#6f4d39 0 42px,#926b4e 42px 44px)}
.vq-cellar-arch{position:absolute;top:10%;bottom:30%;width:26%;border:6px solid rgba(39,24,27,.55);border-bottom:none;border-radius:140px 140px 0 0;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,0));z-index:1;opacity:.55}
.vq-cellar-arch.a1{left:7%}.vq-cellar-arch.a2{right:7%}
.vq-cellar-zone{position:absolute;display:flex;align-items:flex-end;justify-content:center;z-index:2}
.vq-slot-card{display:flex;flex-direction:column;align-items:center;gap:4px}
.vq-slot-card img{image-rendering:pixelated;filter:drop-shadow(0 4px 0 #2e2122)}
.vq-slot-card span{font-size:10px;line-height:1;color:#f2dec0;background:#3d2c33cc;border:1px solid #c4a476;padding:2px 6px;border-radius:999px;white-space:nowrap}
.vq-slot-card.tiny img{width:40px;height:64px}.vq-slot-card.small img{width:64px;height:80px}.vq-slot-card.medium img{width:112px;height:88px}.vq-slot-card.large img{width:108px;height:126px}
.vq-empty-slot{display:flex;align-items:center;justify-content:center;min-width:84px;min-height:54px;border:2px dashed #d8bb8a66;background:#ffffff10;color:#ecd7b7aa;border-radius:12px;font-size:11px;text-align:center;padding:8px 10px}
.vq-empty-slot.tall{min-height:120px;min-width:100px}.vq-empty-slot.wide{min-width:150px}.vq-empty-slot.tiny{min-width:48px;min-height:48px}
.z-lamp{left:8%;top:15%;width:14%;height:20%}.z-chandelier{left:42%;top:3%;width:16%;height:18%}.z-painting{right:6%;top:17%;width:18%;height:18%}
.z-rack-left{left:6%;top:28%;width:22%;height:36%}.z-rack-right{right:6%;top:28%;width:22%;height:36%}
.z-cards{left:31%;top:25%;width:38%;height:16%}.z-souvenirs{left:28%;top:47%;width:44%;height:12%}
.z-table{left:35%;top:57%;width:30%;height:22%}.z-barrel{left:18%;top:61%;width:15%;height:19%}.z-flower{right:18%;top:61%;width:15%;height:19%}.z-glass{right:33%;top:64%;width:10%;height:14%}
.vq-gallery-strip,.vq-souvenir-strip{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:52px;padding:8px 10px;border-radius:12px;background:#3b2c30b8;border:1px solid #b68a5a;box-shadow:inset 0 0 12px #0005}
.vq-gallery-strip.is-empty,.vq-souvenir-strip.is-empty{color:#efdbc0aa;font-size:11px}
.vq-wall-card,.vq-souvenir-badge{position:relative;display:inline-flex;align-items:center;justify-content:center}
.vq-wall-card img,.vq-souvenir-badge img{width:42px;height:auto;image-rendering:pixelated}
.vq-wall-card small{position:absolute;bottom:-18px;max-width:64px;font-size:8px;line-height:1.15;color:#f4e6d0;text-align:center;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.vq-souvenir-badge em{position:absolute;font-style:normal;font-size:18px;filter:drop-shadow(0 2px 0 #1f1818)}
.vq-cantina-showcase{background:#ead9bb;border:1px solid #c6ac87;border-radius:11px;padding:12px;margin:8px 0 27px}
@media(max-width:620px){
 .vq-item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .vq-item-card{padding:9px;min-height:228px}
 .vq-item-card h3{font-size:13px}.vq-item-card p{font-size:11px}.vq-item-buy .btn{font-size:11px;padding:7px;min-height:42px}
 .vq-cellar-stage{aspect-ratio:4/4.2;min-height:380px}
 .vq-cellar-arch{width:34%;top:12%;bottom:38%}
 .z-lamp{left:4%;top:14%;width:18%}.z-chandelier{top:2%;left:38%;width:24%}.z-painting{right:3%;top:16%;width:24%}
 .z-rack-left{left:2%;top:30%;width:26%;height:30%}.z-rack-right{right:2%;top:30%;width:26%;height:30%}
 .z-cards{left:28%;top:26%;width:44%}.z-souvenirs{left:20%;top:50%;width:60%}
 .z-table{left:27%;top:63%;width:46%}.z-barrel{left:6%;top:67%;width:22%}.z-flower{right:6%;top:67%;width:22%}.z-glass{right:34%;top:73%;width:14%}
 .vq-slot-card.large img{width:82px;height:96px}.vq-slot-card.medium img{width:92px;height:72px}.vq-slot-card.small img{width:52px;height:68px}.vq-slot-card.tiny img{width:32px;height:52px}
 .vq-slot-card span{font-size:9px;max-width:92px;overflow:hidden;text-overflow:ellipsis}
 .vq-gallery-strip,.vq-souvenir-strip{gap:4px;padding:8px 6px}
 .vq-wall-card img,.vq-souvenir-badge img{width:34px}
 .vq-wall-card small{font-size:7px;max-width:48px;bottom:-16px}
}
