/* Music DNA Lab 1.9.5 — explorer polish. No new frameworks or network resources. */
:root{--v195-thread:#d7c39e}
button,select,.chip,a.chip{touch-action:manipulation}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #ba9161;outline-offset:3px}
.v195-home-adventures,.v195-more-status,.v195-settings-banner{margin:20px 0;padding:22px;border:1px solid rgba(151,128,96,.28);border-radius:23px;background:linear-gradient(140deg,#f3ede0,#e4dfd2);box-shadow:0 16px 32px rgba(35,29,25,.07)}
.v195-home-adventures h2,.v195-more-status h2{font-size:clamp(22px,5vw,34px);letter-spacing:-.035em;margin:9px 0 17px}
.v195-adventure-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.v195-adventure-card{text-align:left;display:flex;flex-direction:column;gap:9px;align-items:flex-start;justify-content:center;border:1px solid rgba(99,89,75,.22);border-radius:16px;background:linear-gradient(145deg,#f8f4e9,#e7d8c2);padding:17px;min-height:162px;color:#3c352d;box-shadow:0 8px 19px #53403215;transition:transform .22s ease}
.v195-adventure-card:nth-child(2){background:linear-gradient(145deg,#e6e9e1,#d5c4ae)}
.v195-adventure-card:active{transform:scale(.98)}
.v195-adventure-card span{font-size:10px;letter-spacing:.16em;font-weight:900;opacity:.7}
.v195-adventure-card strong{font-size:clamp(15px,4vw,21px);line-height:1.2}
.v195-adventure-card small{font-size:12px;line-height:1.4;color:#625445}
.v195-home-adventures>p{margin:14px 0 0}
.v195-more-status{margin-bottom:100px}
.v195-status-row{display:grid;grid-template-columns:1fr auto;gap:12px 16px;align-items:center;margin:14px 0;padding:12px 0;border-top:1px solid #96856c33;border-bottom:1px solid #96856c33}
.v195-status-row b{font-variant-numeric:tabular-nums}
.v195-settings-banner{margin-top:14px;margin-bottom:20px}
.v195-settings-banner p{line-height:1.5;color:#665b4d}
.v195-settings-banner button{margin:4px}
/* Album Knowledge editorial hierarchy and practical, three-tab iPhone controls. */
.kb-tabs{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;overflow:visible!important;gap:7px!important;max-width:100%;padding:5px!important;background:#e6ded1;border-radius:15px}
.kb-tabs button{white-space:normal!important;min-width:0!important;min-height:45px;padding:8px 5px!important;font-size:clamp(11px,3vw,14px)!important;text-align:center;line-height:1.15}
.kb-main{padding-bottom:24px}
.v195-knowledge-more{margin:15px 0;border:1px solid #a5967b65;background:#f2eee6;border-radius:14px;padding:0 13px}
.v195-knowledge-more>summary{cursor:pointer;min-height:50px;display:flex;align-items:center;font-weight:750;color:#494037;list-style-position:inside}
.v195-knowledge-more[open]>summary{border-bottom:1px solid #b7a98f55;margin-bottom:14px}
.v195-knowledge-more .kb-hero{margin-top:12px}
.v195-personal-intro{padding:12px 0 8px}
.v195-personal-intro h3{margin:10px 0 7px;font-size:23px}
.v195-personal-intro p{font-size:13px;line-height:1.45;color:#5e554a}
.kb-sheet .control select,.kb-sheet .control textarea{min-height:48px}
.kb-hero{padding:clamp(13px,3vw,24px)!important}
.kb-editorial-title{font-size:clamp(25px,7vw,43px)!important}
/* Galaxy: preserve old 3D camera. Only show connections for one focused album. */
.sky-connections{overflow:visible!important;pointer-events:none!important;opacity:.64;filter:drop-shadow(0 0 3px #fff8)}
.sky-connections path{stroke:rgba(232,220,189,.72)!important;stroke-width:1.65!important;fill:none;stroke-dasharray:6 5;vector-effect:non-scaling-stroke}
.v195-galaxy-label{font-size:11px;font-weight:800;letter-spacing:1px;fill:#f1e3c8;paint-order:stroke;stroke:#242d33;stroke-width:3px;stroke-linejoin:round;opacity:.9}
.sky-detail{max-height:41%!important;overflow:auto;-webkit-overflow-scrolling:touch}
.sky-detail .sky-detail-cover{max-width:55px!important;max-height:55px!important}
.sky-detail .sky-detail-head h3{font-size:clamp(14px,4vw,20px)!important}
.v195-detail-toggle,.v195-open-dossier{width:100%;display:block;border:1px solid #a6977c55;background:#ece5d8;color:#433d34;min-height:38px;font-size:12px;font-weight:800;border-radius:10px;margin:2px 0 8px}
.v195-open-dossier{background:#3f4b47;color:#fff}
.v195-detail-extra[hidden]{display:none!important}
.sky-detail-grip{display:none}
.sky-viewport[data-level="constellation"] .sky-focus-node .sky-cover{box-shadow:0 8px 18px #10192155}
/* Discovery: prominent art, lightweight outbound search, no claim of automatic playback. */
.discovery-object{overflow:hidden;border-radius:20px!important;box-shadow:0 12px 25px #524a3e10;content-visibility:auto;contain-intrinsic-size:auto 270px}
.discovery-object .cover.large{width:110px;min-width:110px;height:110px;max-width:38%}
.discovery-object h3{font-size:clamp(20px,5vw,27px)!important;letter-spacing:-.035em}
.discovery-object .chiprow{gap:7px}
.v195-listen-link{display:inline-flex!important;align-items:center;justify-content:center;text-decoration:none;min-height:39px!important;background:#333f3b!important;color:#fff!important}
/* Time Machine: graph and year ribbon should be visible earlier. */
.tm-hero{padding-top:19px!important;padding-bottom:16px!important;min-height:unset!important}
.tm-hero h1{font-size:clamp(44px,12vw,79px)!important;line-height:.88!important;margin:10px 0!important}
.tm-hero-art{max-height:125px!important;overflow:hidden}
.tm-hero-art .floating-gallery{transform:scale(.68);transform-origin:top center;max-height:120px}
.tm-hero p{max-width:520px}
.tm-stage{scroll-margin-top:15px}
.tm-stage #tm-chart,.tm-stage svg[data-tm-graph]{min-height:245px}
.v195-time-eras{display:flex;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;padding:15px 0 9px;scrollbar-width:none}
.v195-time-eras button{min-width:62px;min-height:40px;border-radius:30px;background:#e7dfd1;border:1px solid #c5b69b;color:#554739;font-weight:800}
.v195-time-eras button.selected{background:#3f4a43;color:white}
/* Quest Board: near rewards legible with reusable badges, no startup recalc per redraw. */
.v19f-quest-grid,.v19f-quest-hero{contain:layout style}
.v19f-quest-grid>*{content-visibility:auto;contain-intrinsic-size:auto 220px}
/* Embroidered scouting-inspired ORIGINAL patch. Preserve the existing medal API. */
.v195-patch{--patch-field:#566f62;--patch-edge:#e5c797;--patch-glyph:#f1e5cc;isolation:isolate;filter:drop-shadow(0 12px 11px #222c2a40)!important;transform-style:preserve-3d;transition:filter .25s ease,transform .25s ease}
.v195-family-world{--patch-field:#446b73;--patch-edge:#dabf86}
.v195-family-critic{--patch-field:#644e65;--patch-edge:#d0af90}
.v195-family-album{--patch-field:#715449;--patch-edge:#d7b08d}
.v195-family-history{--patch-field:#456a57;--patch-edge:#dcbf84}
.v195-family-listening{--patch-field:#4d5876;--patch-edge:#a9c4d0}
.v195-patch.v19f-mat-gold,.v195-patch.v19f-mat-mythic{--patch-edge:#f6d48e}
.v195-patch.v19f-mat-diamond,.v195-patch.v19f-mat-platinum{--patch-edge:#c1e9ef}
.v195-patch .v19f-medal-face{background:radial-gradient(ellipse at 25% 20%,#ffffff20,transparent 45%),repeating-linear-gradient(125deg,#ffffff08 0 2px,transparent 2px 5px),var(--patch-field)!important;border:6px ridge var(--patch-edge)!important;outline:3px dotted #ffebb9cc;outline-offset:-10px;border-radius:31% 31% 26% 26%!important;clip-path:polygon(50% 0,83% 8%,99% 32%,92% 78%,50% 100%,8% 78%,1% 32%,17% 8%)!important;box-shadow:inset 0 0 0 5px #201f2055,inset 0 0 22px #1116,0 11px 15px #1e1f2030!important;transform:translateZ(8px) rotateX(-5deg)}
.v195-patch .v19f-medal-bezel{border:2px dashed #eed9ac8a!important;border-radius:35%!important;inset:7px!important;background:none!important}
.v195-patch .v19f-medal-glyph{font-family:Georgia,serif;font-size:1.4em;color:var(--patch-glyph)!important;text-shadow:0 1px 1px #111,0 0 13px #c9ba9980!important;filter:drop-shadow(1px 1px 0 #101b20);font-weight:900}
.v195-patch .v19f-medal-mini{font-weight:900!important;color:#f2dcae!important;letter-spacing:1px!important;text-shadow:0 1px 2px #111a}
.v195-patch.v19f-locked{filter:grayscale(.65) drop-shadow(0 4px 5px #18192025)!important;opacity:.62}
.v19f-vault-platform .v195-patch{transform:rotate(-6deg) rotateY(12deg) translateY(-3px)!important}
.v19f-vault-platform:hover .v195-patch,.v19f-award-button:hover .v195-patch{transform:rotate(2deg) rotateY(-11deg) translateY(-8px)!important}
.v19f-tier-rail{max-width:100%;overflow-x:auto}
.v19f-award-ledger .v19f-ledger-entry{content-visibility:auto;contain-intrinsic-size:auto 100px}
.v195-ledger-more{display:block;margin:15px auto 5px;min-height:44px}
/* Passport: center the atlas and make discovery trails read like a journey. */
.v19f-atlas-map{padding:10px!important;border-radius:21px!important}
.v19f-atlas-map .world{display:block;width:100%!important;height:auto!important;aspect-ratio:2 / 1;min-height:215px;touch-action:manipulation}
.v19f-atlas-map .land{cursor:pointer}
.v19f-trails{position:relative;display:grid;gap:12px;padding-left:10px}
.v19f-trails::before{content:"";position:absolute;left:31px;top:13px;bottom:20px;border-left:2px dashed #9b8e7399;pointer-events:none}
.v19f-trail{position:relative;background:#f3eddf;border:1px solid #d3bfa0;border-radius:17px;padding:16px!important;box-shadow:0 8px 16px #48362210}
.v19f-trail-number{position:relative;z-index:1;background:#465b52!important;color:#f6e9d0!important;box-shadow:0 3px 7px #302c2b3d}
.v19f-trail h3{font-size:21px!important}
.v19f-trail .v19-form{margin-top:12px}
.v19f-passport .v19f-destination{border-radius:24px;overflow:hidden}
.v19f-passport .v19f-reward-gallery{gap:12px}
/* Reduce offscreen animation and visuals on user or OS request. */
.v195-reduced-motion .v195-patch,.v195-reduced-motion .float-item,.v195-reduced-motion .sky-sleeve,.v195-reduced-motion .v19f-medal,.v195-reduced-motion .sky-region,.v195-reduced-motion .v19f-vault-platform *, .v195-reduced-motion .sky-atmosphere *{animation:none!important;transition:none!important;transform:none!important}
.v195-reduced-motion .sky-connections{filter:none}
.v195-reduced-motion .sky-page .sky-sleeve{filter:none!important}
@media(max-width:430px){.v195-home-adventures{padding:16px}.v195-adventure-card{padding:13px;min-height:154px}.v195-status-row{font-size:13px}.v19f-atlas-map .world{min-height:185px}.v19f-vault-hero{padding:18px!important}.tm-hero-art{display:none}}
@media(prefers-reduced-motion:reduce){.v195-patch,.v195-patch *, .sky-sleeve,.float-item,.sky-region{animation:none!important;transition:none!important}}

/* Textile edge replaces the original metallic knurling. */
.v195-patch::before{border-radius:31% 31% 26% 26%!important;clip-path:polygon(50% 0,84% 7%,98% 31%,92% 78%,50% 100%,8% 78%,2% 31%,16% 7%)!important;background:repeating-linear-gradient(50deg,#efe2bb 0px,#806c58 2px,#ede0c2 4px,#99785c 5px)!important;box-shadow:0 6px 7px #201e1c66!important}
.v195-patch.v19f-medal-big .v19f-medal-glyph{font-size:clamp(57px,15vw,94px)!important}
.v195-patch .v19f-medal-mini{z-index:2}
.v195-reduced-motion .v195-patch .v19f-medal-face{transform:translateZ(0)!important}
