:root { color-scheme: dark; }
.ts-app, .ts-app * { box-sizing: border-box; }
.ts-app { --ts-ink:#e8eeeb; --ts-muted:#9baeb4; --ts-teal:#fccd06; --ts-yellow:#fccd06; position:relative; min-height:100svh; width:100%; isolation:isolate; overflow:hidden; background:#061723; color:var(--ts-ink); font-family: 'Arial', 'Helvetica Neue', sans-serif; -webkit-font-smoothing:antialiased; }
.ts-app::before { content:""; position:absolute; z-index:1; inset:0; pointer-events:none; background:linear-gradient(90deg, rgba(2,13,22,.84) 0%,rgba(2,16,25,.57) 26%, transparent 58%,rgba(2,14,23,.29) 100%),linear-gradient(0deg,rgba(2,11,19,.94),transparent 30%,transparent 75%,rgba(2,14,23,.46)); }
.ts-app::after { content:""; position:absolute; z-index:2; inset:0; pointer-events:none; opacity:.14; background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.32' filter='url(%23n)'/%3E%3C/svg%3E"); mix-blend-mode:screen; }
.ts-water {position:absolute; inset:0; height:100%;width:100%;display:block;z-index:0;touch-action:pan-y;}
.ts-header {position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px clamp(24px,4.5vw,76px);}
.ts-logo {display:inline-flex;align-items:center;justify-content:flex-start;flex:none;min-width:0;max-width:none;min-height:0;color:#ecf1ee;text-decoration:none !important;font-weight:800;letter-spacing:-.055em;font-size:23px;line-height:1;clip-path:none!important;mask:none!important;-webkit-mask:none!important;overflow:visible!important;border-radius:0!important;}
.ts-logo:hover{opacity:.85;}
.ts-logo img{display:block;width:clamp(96px,9vw,132px)!important;max-width:100%!important;max-height:none!important;height:auto!important;object-fit:contain;flex:none;border-radius:0!important;clip-path:none!important;mask:none!important;-webkit-mask:none!important;overflow:visible!important;margin:0!important;}
.ts-header-right{display:flex;align-items:center;gap:20px;}
.ts-topline {font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:#9eb4bb;white-space:nowrap;}
.ts-live-dot{width:6px;height:6px;border-radius:50%;background:#fccd06;display:inline-block;margin-right:10px;box-shadow:0 0 14px #fccd06;animation:ts-breathe 2.6s ease-in-out infinite;}
@keyframes ts-breathe {50%{opacity:.35;box-shadow:0 0 4px #fccd06;}}
.ts-main {position:relative;z-index:4;min-height:calc(100svh - 96px);display:grid;grid-template-columns:minmax(0,1fr) 330px;align-items:center;gap:44px;padding:clamp(20px,4vw,64px) clamp(24px,4.5vw,76px) clamp(90px,9vh,145px);}
.ts-intro{align-self:center;max-width:700px;pointer-events:none;transform:translateY(-6vh);}
.ts-eyebrow,.ts-section-kicker{font-size:10px;font-weight:700;letter-spacing:.25em;color:var(--ts-teal);text-transform:uppercase;}
.ts-eyebrow:before{content:"";display:inline-block;width:34px;height:1px;background:var(--ts-teal);vertical-align:middle;margin-right:14px;opacity:.8;}
.ts-title{font-family:'Arial Narrow', 'Helvetica Neue', Impact, sans-serif;font-stretch:condensed;font-weight:900;font-size:clamp(94px,12vw,220px);letter-spacing:-.095em;line-height:.76;margin:34px 0 34px;max-width:650px;text-transform:uppercase;}
.ts-title span{display:block;}
.ts-title span:first-child{color:#fccd06;-webkit-text-stroke:0;}
.ts-title span:nth-child(2){color:transparent;-webkit-text-stroke:1.5px #fccd06;text-shadow:0 0 60px rgba(252,205,6,.06);}
.ts-tagline{font-size:clamp(12px,1.25vw,15px);font-weight:700;letter-spacing:.13em;color:#f0ebd6;margin:0 0 20px;text-transform:uppercase;}
.ts-interaction-hint{margin:20px 0 0;color:#fccd06;font-size:9px;line-height:1.7;font-weight:700;letter-spacing:.12em;max-width:270px;}
.ts-description{font-size:clamp(13px,1.2vw,15px);font-weight:400;line-height:1.7;max-width:350px;color:var(--ts-muted);margin:0;}
.ts-panel{position:relative;align-self:center;background:rgba(4,23,34,.56);border:1px solid rgba(209,235,233,.2);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);padding:29px 27px 26px;box-shadow:0 22px 78px rgba(0,8,17,.19);}
.ts-panel::before,.ts-panel::after {content:"";position:absolute;background:#fccd06;opacity:.85;}
.ts-panel::before{top:-1px;left:-1px;width:29px;height:1px;}
.ts-panel::after{top:-1px;left:-1px;width:1px;height:29px;}
.ts-section-kicker{font-size:9px;letter-spacing:.19em;color:#fccd06;}
.ts-kicker-translation{display:block;margin-top:7px;color:#bdced0;font-size:10px;font-weight:400;letter-spacing:.035em;line-height:1.5;text-transform:none;}
.ts-owned h2{color:#fff;}
.ts-app .ts-join h2{color:#ffffff !important;}
.ts-panel h2{font-size:27px;letter-spacing:-.045em;line-height:1.05;margin:24px 0 13px;font-weight:700;}
.ts-panel-copy{color:#adbfc2;font-size:13px;line-height:1.65;margin:0 0 25px;}
.ts-primary{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fccd06;color:#0c1620 !important;border:1px solid #fccd06;padding:17px 18px;min-height:52px;min-width:100%;cursor:pointer;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;text-align:left;transition:background .2s,transform .2s,box-shadow .2s;}
.ts-primary:hover{background:#ffe475;transform:translateY(-1px);box-shadow:0 0 25px rgba(252,205,6,.2);}
.ts-primary:disabled{opacity:.65;cursor:wait;}
.ts-arrow{font-size:21px;font-weight:300;line-height:0;}
.ts-divider{height:1px;background:rgba(193,226,221,.15);margin:28px 0 24px;}
.ts-search-label {display:block;margin:13px 0 12px;font-size:17px;letter-spacing:-.02em;font-weight:600;}
.ts-search-row{display:flex;align-items:stretch;border:1px solid rgba(197,226,224,.3);background:rgba(0,14,24,.4);height:48px;}
.ts-search-row:focus-within{border-color:#fccd06;}
.ts-search-row span{align-self:center;margin-left:13px;font-size:13px;color:#95b4b9;}
.ts-search-row input{min-width:0;flex:1;width:100%;border:0;outline:0;color:#eaf5f0;font:600 14px 'Courier New', monospace;letter-spacing:.12em;background:transparent;padding:12px 5px;box-shadow:none;}
.ts-search-row input::placeholder{color:#829ba5;opacity:.6;}
.ts-search-row button{font-size:18px;width:48px;flex:none;border:0;background:rgba(192,232,224,.1);color:#d5eeea;cursor:pointer;}
.ts-search-row button:hover{background:rgba(252,205,6,.22);}
.ts-message{font-size:12px;line-height:1.5;min-height:18px;margin:11px 0 0;color:#b2d8d6;}
.ts-message[data-tone="error"]{color:#ffcabf;}
.ts-owned{display:none;}
.ts-owned[data-visible="true"]{display:block;}
.ts-join[data-hidden="true"]{display:none;}
.ts-owned-num{color:#fccd06;font-family:'Courier New',monospace;font-size:clamp(33px,3vw,44px);font-weight:400;letter-spacing:-.04em;line-height:1.2;margin:11px 0 3px;}
.ts-owner-tools{display:flex;flex-wrap:wrap;gap:14px;margin-top:12px;}
.ts-tool {background:transparent;border:0;color:#f6d85a;font-size:10px;letter-spacing:.1em;cursor:pointer;padding:5px 0;text-decoration:underline;text-underline-offset:5px;text-decoration-color:#6b999a;text-transform:uppercase;}
.ts-tool:hover{color:white;}
.ts-share-link-box{margin-top:14px;padding:13px 0 0;border-top:1px solid rgba(181,225,215,.18)}
.ts-share-link-box label{display:block;font-size:9px;letter-spacing:.16em;color:#b6d7d1;margin-bottom:8px}
.ts-share-link-row{display:flex;gap:5px}
.ts-share-link-row input{flex:1;min-width:0;background:rgba(4,20,28,.85);border:1px solid rgba(176,218,211,.3);color:#e7f5ef;padding:10px 8px;font-size:11px}
.ts-share-link-row button{padding:7px 11px;border:1px solid rgba(176,218,211,.45);background:transparent;color:#d1ede4;cursor:pointer;font-size:10px}
.ts-share-link-box[hidden]{display:none!important}
.ts-footer{position:absolute;left:0;right:0;bottom:0;z-index:5;padding:24px clamp(24px,4.5vw,76px) 27px;display:flex;align-items:flex-end;justify-content:space-between;gap:30px;pointer-events:none;}
.ts-footer p{padding:0;margin:0;}
.ts-metrics{display:flex;align-items:center;gap:38px;}
.ts-metric-fig{font-family:'Courier New',monospace;font-size:25px;color:#e0f4eb;line-height:1.1;letter-spacing:-.03em;}
.ts-metric-name{font-size:9px;letter-spacing:.17em;color:#91b3b7;text-transform:uppercase;margin-top:7px !important;}
.ts-foot-meta{text-align:right;font-size:10px;color:#91aeb8;line-height:1.7;letter-spacing:.15em;text-transform:uppercase;}
.ts-focus{position:absolute;top:50%;left:50%;z-index:10;pointer-events:none;transform:translate(-50%,-50%);text-align:center;opacity:0;transition:opacity .5s;}
.ts-focus[data-visible="true"]{opacity:1;}
.ts-focus[data-visible="false"]{visibility:hidden;}
.ts-focus-label{font-size:11px;letter-spacing:.21em;color:#fccd06;white-space:nowrap;}
.ts-focus-cross{margin:8px auto;border:1px solid rgba(183,227,217,.3);height:85px;width:85px;border-radius:50%;box-shadow:0 0 50px rgba(142,228,207,.15);}
.ts-close-focus{pointer-events:auto;touch-action:manipulation;position:relative;z-index:11;min-height:44px;min-width:158px;cursor:pointer;background:rgba(3,20,29,.65);border:1px solid rgba(183,227,217,.4);color:#d5f5e9;padding:9px 12px;letter-spacing:.13em;font-size:9px;margin-top:13px;}
.ts-app button:focus-visible,.ts-app a:focus-visible,.ts-app input:focus-visible{outline:2px solid #fccd06;outline-offset:3px;}
.ts-app [hidden]{display:none !important;}
@media (min-width:1500px){.ts-main{grid-template-columns:minmax(0,1fr) 360px;}.ts-panel{padding:34px 31px;}}
@media (max-width:950px){.ts-main{grid-template-columns:minmax(0,1fr) 300px;gap:12px;}.ts-title{font-size:clamp(83px,12vw,145px)}.ts-intro{transform:translateY(-4vh)}.ts-topline:last-child{display:none;}}
@media (max-width:700px){
 .ts-app{min-height:100svh;}
 .ts-app::before{background:linear-gradient(180deg,rgba(3,17,27,.55),rgba(3,17,27,.14) 30%,rgba(3,16,25,.1) 52%,rgba(2,12,21,.93) 78%,rgba(2,12,21,.98));}
 .ts-header{padding:18px 19px;gap:10px;}
 .ts-logo{font-size:19px;min-width:0;flex:none;}.ts-logo img{width:clamp(91px,27vw,116px)!important;max-width:none!important;max-height:none!important;height:auto!important;}
 .ts-header-right{display:none;}
 .ts-topline{font-size:8px;letter-spacing:.12em;}
 .ts-main{display:block;min-height:calc(100svh - 60px);padding:24px 19px 160px;}
 .ts-intro{transform:none;position:relative;z-index:2;max-width:400px;}
 .ts-eyebrow{font-size:9px;letter-spacing:.16em;}.ts-eyebrow:before{width:20px;margin-right:7px;}
 .ts-title{font-size:clamp(73px,19.5vw,126px);margin:25px 0 21px;line-height:.75;}
 .ts-tagline{font-size:10px;letter-spacing:.1em;margin-bottom:11px;}
 .ts-description{max-width:250px;font-size:12px;line-height:1.55;}
 .ts-interaction-hint{font-size:8px;max-width:220px;}
 .ts-panel{position:relative;max-width:550px;margin:clamp(95px,20vh,210px) auto 0;padding:19px 21px;background:rgba(4,24,35,.79);}
 .ts-panel h2{font-size:22px;margin:13px 0 7px;}.ts-panel-copy{font-size:12px;margin-bottom:16px;line-height:1.5;}
 .ts-primary{min-height:45px;padding:12px 15px;font-size:10px;}.ts-divider{margin:17px 0 14px;}
 .ts-search-label{font-size:14px;margin:8px 0;}.ts-search-row{height:39px;}.ts-search-row button{width:42px;}
 .ts-footer{position:relative;padding:0 19px 19px;align-items:flex-start;gap:16px;}
 .ts-metrics{gap:20px;}.ts-metric-fig{font-size:20px;}.ts-metric-name{font-size:8px;letter-spacing:.08em;}
 .ts-foot-meta{font-size:8px;letter-spacing:.1em;}.ts-focus{top:41%;}
}
@media(max-width:375px){.ts-panel{margin-top:80px}.ts-title{font-size:18vw}.ts-header-right .ts-topline{display:none}.ts-footer{gap:8px}.ts-foot-meta{max-width:115px;}}
@media (prefers-reduced-motion:reduce){.ts-live-dot{animation:none}.ts-primary{transition:none}.ts-focus{transition:none}}
/* V1.5 — public sardine identity editor */
.ts-app .ts-designer{position:absolute;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;padding:clamp(12px,2.5vw,35px);isolation:isolate;}
.ts-designer-shade{position:absolute;inset:0;background:rgba(1,11,20,.87);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);cursor:default;}
.ts-designer-card{position:relative;z-index:1;width:min(840px,100%);max-height:min(92svh,900px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#547f82 #09202e;background:linear-gradient(125deg,rgba(12,44,56,.99),rgba(4,23,34,.98));border:1px solid rgba(195,236,224,.32);padding:clamp(22px,3vw,38px);box-shadow:0 35px 120px rgba(0,5,15,.65);outline:none;}
.ts-designer-card::before{content:"";position:absolute;top:0;left:0;width:42px;height:2px;background:#fccd06;}
.ts-designer-top{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.ts-designer-close{width:38px;height:38px;background:transparent;border:1px solid rgba(188,230,220,.3);color:#e7f9f0;cursor:pointer;font:28px/1 Arial,sans-serif;flex:none;}
.ts-designer-title{margin:15px 0 24px;color:#f1faf5;font:900 clamp(28px,4.7vw,53px)/.95 'Arial Narrow','Helvetica Neue',Impact,sans-serif;letter-spacing:-.045em;}
.ts-designer-title em{font-style:normal;color:transparent;-webkit-text-stroke:1px #fccd06;}
.ts-designer-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:27px;align-items:start;}
.ts-preview-frame{position:relative;overflow:hidden;background:#071d2b;border:1px solid rgba(192,239,228,.26);}
.ts-preview{display:block;width:100%;height:auto;aspect-ratio:600 / 330;}
.ts-preview-label{position:absolute;bottom:13px;left:13px;font-size:9px;font-weight:700;letter-spacing:.16em;color:#d0eee5;}
.ts-preview-id{color:#8aaeb1;}
.ts-preview-note{color:#a3bec0;font-size:12px;line-height:1.6;max-width:280px;margin:16px 0 0;}
.ts-fieldset{border:0;min-width:0;padding:0;margin:0 0 20px;}
.ts-fieldset legend{width:100%;font-size:10px;font-weight:700;letter-spacing:.16em;color:#e0f2ea;padding:0 0 11px;}
.ts-fieldset legend span{color:#fccd06;margin-right:7px;}
.ts-color-choices{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;}
.ts-color-choice{min-width:0;padding:7px 2px 6px;background:transparent;border:1px solid transparent;color:#9bafb8;cursor:pointer;transition:border-color .15s,color .15s;}
.ts-color-choice span{display:block;width:clamp(23px,2.6vw,30px);height:clamp(23px,2.6vw,30px);margin:0 auto 7px;border:1px solid rgba(227,247,238,.34);border-radius:50%;background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.6),transparent 42%),var(--swatch);box-shadow:0 0 17px rgba(0,0,0,.19);}
.ts-color-choice small{display:block;font-size:7px;font-weight:700;letter-spacing:0;line-height:1.2;overflow-wrap:anywhere;}
.ts-color-choice.is-selected{border-color:#fccd06;color:#fff;background:rgba(252,205,6,.10);}
.ts-option-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;}
.ts-option-row button{min-width:0;padding:11px 2px;border:1px solid rgba(191,231,224,.2);background:rgba(5,23,32,.35);color:#b3cacf;cursor:pointer;font-size:8px;font-weight:700;letter-spacing:.015em;}
.ts-option-row button.is-selected{background:rgba(252,205,6,.13);color:#fff4c0;border-color:#fccd06;}
.ts-designer-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:15px;border-top:1px solid rgba(188,231,219,.17);}
.ts-designer-random{flex:none;background:transparent;border:0;color:#fccd06;cursor:pointer;font-size:10px;font-weight:700;letter-spacing:.12em;padding:12px 4px;}
.ts-designer-actions .ts-designer-save{min-width:0;width:min(350px,100%);}
.ts-designer-status{min-height:0;color:#ffd2c0;font-size:12px;margin:10px 0 0;}
.ts-designer-status:empty{display:none;}
.ts-owner-tools{gap:13px 16px;}
.ts-app .ts-designer button:focus-visible{outline:2px solid #fccd06;outline-offset:3px;}
@media(max-width:700px){
 .ts-app .ts-designer{position:fixed;inset:0;padding:0;align-items:stretch;}
 .ts-designer-card{width:100%;max-height:100dvh;height:100dvh;padding:20px 19px 26px;border:0;border-radius:0;}
 .ts-designer-title{margin:12px 0 18px;font-size:35px;}
 .ts-designer-grid{display:block;}
 .ts-preview-frame{max-width:470px;margin:auto;}
 .ts-preview-note{margin:9px 0 16px;font-size:11px;max-width:100%;}
 .ts-fieldset{margin:0 0 13px;}
 .ts-fieldset legend{padding:0 0 7px;}
 .ts-color-choice span{width:28px;height:28px;margin-bottom:4px;}
 .ts-color-choice small{font-size:7px;}
 .ts-option-row button{padding:10px 2px;}
 .ts-designer-actions{gap:12px;position:sticky;bottom:-26px;padding:11px 0 14px;background:#07212f;z-index:2;}
 .ts-designer-random{font-size:9px;}
 .ts-designer-actions .ts-designer-save{flex:1;font-size:9px;}
}
@media(max-width:375px){.ts-designer-title{font-size:31px}.ts-preview-note{font-size:10px}.ts-designer-card{padding:15px 15px 24px}.ts-color-choice span{width:24px;height:24px}.ts-option-row button{font-size:7px}}

/* V1.6 — SAINTGXV identity and mobile ocean-first retractable menu */
.ts-app .ts-mobile-toggle,.ts-app .ts-mobile-scrim{display:none;}
.ts-app .ts-designer-top .ts-section-kicker{color:#fccd06;}
.ts-app .ts-preview-id{color:#fccd06;}
.ts-app .ts-search-row button{color:#fccd06;}
.ts-app .ts-focus-cross{border-color:rgba(252,205,6,.42);box-shadow:0 0 48px rgba(252,205,6,.08);}
.ts-app .ts-close-focus{border-color:rgba(252,205,6,.58);color:#fccd06;}
@media(max-width:700px){
 .ts-app{height:100svh;min-height:580px;overflow:hidden;}
 .ts-app::before{background:linear-gradient(180deg,rgba(2,14,23,.64) 0%,rgba(2,14,23,.14) 35%,rgba(2,14,23,.05) 68%,rgba(2,14,23,.45) 100%);}
 .ts-header{padding:15px 19px 0;}
 .ts-main{display:block;height:calc(100svh - 122px);min-height:0;padding:14px 19px 0;}
 .ts-intro{max-width:390px;}
 .ts-title{font-size:clamp(66px,18.6vw,104px);margin:18px 0 17px;line-height:.76;}
 .ts-tagline{max-width:350px;font-size:10px;line-height:1.5;letter-spacing:.10em;margin-bottom:8px;}
 .ts-description{font-size:11px;line-height:1.45;max-width:290px;}
 .ts-interaction-hint{font-size:8px;max-width:270px;margin-top:10px;}
 .ts-app .ts-mobile-toggle{display:flex;position:fixed;left:16px;right:16px;bottom:calc(14px + env(safe-area-inset-bottom,0px));width:calc(100% - 32px);z-index:18;min-height:58px;align-items:center;justify-content:space-between;gap:12px;text-align:left;background:rgba(3,17,26,.96);border:1px solid #fccd06;color:#fccd06;padding:11px 15px;cursor:pointer;touch-action:manipulation;box-shadow:0 10px 32px rgba(0,5,12,.4);}
 .ts-mobile-toggle-label{font-weight:800;letter-spacing:.085em;font-size:11px;line-height:1.3;}
 .ts-mobile-toggle-action{display:flex;align-items:center;gap:9px;color:#fff7da;font-size:9px;font-weight:700;letter-spacing:.09em;white-space:nowrap;}
 .ts-mobile-toggle-icon{display:inline-flex;width:23px;height:23px;align-items:center;justify-content:center;background:#fccd06;color:#071623;font-size:22px;font-weight:400;line-height:1;}
 .ts-app .ts-mobile-scrim:not([hidden]){display:block;position:fixed;inset:0;border:0;padding:0;z-index:14;background:rgba(1,12,21,.48);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);cursor:pointer;}
 .ts-app .ts-panel{position:fixed;left:16px;right:16px;top:auto;bottom:calc(82px + env(safe-area-inset-bottom,0px));width:auto;max-width:none;max-height:min(70dvh,620px);overflow-y:auto;overscroll-behavior:contain;padding:23px 21px 20px;margin:0;background:rgba(5,24,35,.97);z-index:16;transform:translateY(16px);opacity:0;visibility:hidden;pointer-events:none;transition:transform .24s ease,opacity .24s ease,visibility .24s;box-shadow:0 22px 75px rgba(0,7,16,.65);}
 .ts-app .ts-panel[data-mobile-open="true"]{transform:translateY(0);opacity:1;visibility:visible;pointer-events:auto;}
 .ts-app .ts-panel .ts-primary{font-size:10px;letter-spacing:.04em;line-height:1.4;}
 .ts-app .ts-footer{position:absolute;left:0;right:0;bottom:calc(86px + env(safe-area-inset-bottom,0px));padding:0 19px;display:flex;align-items:flex-end;justify-content:flex-start;pointer-events:none;}
 .ts-app .ts-foot-meta{display:none;}
 .ts-app .ts-metrics{gap:16px;opacity:.78;}
 .ts-app .ts-metric-fig{font-size:17px;color:#fccd06;}
 .ts-app .ts-metric-name{font-size:7px;letter-spacing:.07em;}
 .ts-app .ts-focus{top:52%;z-index:12;}
 .ts-app .ts-designer{z-index:30;}
 .ts-app .ts-designer-title{font-size:clamp(26px,7vw,35px);line-height:1.03;}
}
@media(max-width:375px){
 .ts-app .ts-title{font-size:17.3vw;margin-top:12px;}
 .ts-app .ts-description{max-width:270px;}
 .ts-app .ts-panel{bottom:calc(80px + env(safe-area-inset-bottom,0px));}
 .ts-mobile-toggle-label{font-size:10px;}
 .ts-mobile-toggle-action{font-size:8px;gap:5px;}
}
@media(max-width:700px) and (max-height:680px){
 .ts-app .ts-interaction-hint{display:none;}
 .ts-app .ts-description{max-width:255px;}
 .ts-app .ts-title{margin-top:12px;margin-bottom:12px;}
 .ts-app .ts-panel{max-height:68dvh;}
}
@media(prefers-reduced-motion:reduce){.ts-app .ts-panel{transition:none;}}

@media(max-width:700px){.ts-app .ts-main{z-index:12;}.ts-app .ts-focus{z-index:24;}}

/* V1.6.2 — Optional, gesture-unlocked underwater escape sound. */
.ts-app .ts-sound-toggle{position:absolute;top:31px;right:clamp(24px,4.5vw,76px);z-index:8;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid rgba(252,205,6,.6);border-radius:0;background:rgba(3,18,28,.78);color:#fccd06;font-family:Arial,Helvetica,sans-serif;font-size:9px;font-weight:800;letter-spacing:.12em;line-height:1.25;min-height:38px;padding:9px 12px;cursor:pointer;touch-action:manipulation;white-space:nowrap;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);}
.ts-app .ts-sound-toggle:before{content:'';width:5px;height:5px;flex:none;border-radius:50%;background:#7d8994;}
.ts-app .ts-sound-toggle[data-active="true"]:before{background:#fccd06;box-shadow:0 0 7px rgba(252,205,6,.65);}
.ts-app .ts-sound-toggle:hover{background:rgba(252,205,6,.12);}
@media(min-width:951px){.ts-app .ts-header-right{margin-right:140px;}}
@media(min-width:701px) and (max-width:950px){.ts-app .ts-header-right{margin-right:140px;}}
@media(max-width:700px){.ts-app .ts-sound-toggle{top:20px;right:19px;min-height:36px;padding:8px 10px;font-size:8px;letter-spacing:.055em;}}
@media(max-width:375px){.ts-app .ts-sound-toggle{right:15px;top:18px;min-height:34px;font-size:8px;padding:8px 9px;}}
