/* Normal and DEBUG PWA must use the identical viewport box. The early prototype
   had an 8px body margin that Safari could preserve differently per installed app. */
html,body{margin:0!important;width:100%!important;height:100dvh!important;min-height:100dvh!important;max-height:100dvh!important;overflow:hidden!important}
body{position:fixed!important;inset:0!important}
.bottom-nav{bottom:0!important}
/* GOLMY108.9: two focused round tools */
#screen-memory>.trace-record-tools{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;flex:0 0 auto!important;min-height:0!important;padding:8px 18px 12px!important;align-items:stretch!important;justify-content:stretch!important}
#trace-record-tools>.mygo98-plan-entry,#trace-record-tools>.trace-record-button,#trace-record-tools>.mygo100-tool-btn{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;min-height:48px!important;height:48px!important;margin:0!important;padding:0 9px!important;border:0!important;border-radius:999px!important;background:#ff6200!important;color:#fff!important;box-shadow:0 8px 20px rgba(255,98,0,.22)!important;font:inherit!important;font-size:11px!important;font-weight:900!important;line-height:1.1!important;white-space:nowrap!important}
#trace-record-tools>.mygo98-plan-entry.is-locked{gap:5px!important;background:#e7e2da!important;color:#6b655e!important;border:1px solid rgba(28,27,24,.14)!important;box-shadow:none!important;opacity:1!important;cursor:not-allowed!important}
#trace-record-tools>.mygo98-plan-entry.is-locked .plan-lock-icon{display:block!important;flex:0 0 15px!important;width:15px!important;height:15px!important}
#trace-record-tools>.mygo98-plan-entry.is-locked small{font-size:8px!important;font-weight:900!important}
#trace-record-tools>input{display:none!important}
.mygo100-overlay{position:fixed;inset:0;z-index:980;display:none;align-items:flex-end;background:rgba(20,19,17,.7);backdrop-filter:blur(10px)}.mygo100-overlay.open{display:flex}.mygo100-panel{width:100%;max-height:92dvh;overflow:auto;border-radius:28px 28px 0 0;background:#f6f2ea;padding:20px 18px calc(24px + env(safe-area-inset-bottom,0px));color:#171717}.mygo100-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.mygo100-head small{color:#ff6200;font-size:9px;font-weight:900;letter-spacing:.18em}.mygo100-head h2{margin:5px 0 4px;font-size:25px;letter-spacing:-.04em}.mygo100-head p{margin:0;color:#736d65;font-size:11px;line-height:1.55}.mygo100-close{flex:0 0 40px;width:40px;height:40px;border:0;border-radius:50%;background:#171717;color:#fff;font-size:23px}.mygo100-field{display:grid;gap:5px;margin-top:16px}.mygo100-field span{font-size:10px;font-weight:900;letter-spacing:.09em}.mygo100-field input{width:100%;height:50px;border:1px solid #ded7cc;border-radius:15px;background:#fff;padding:0 14px;font:inherit;font-size:14px}.mygo100-provider-list{display:grid;gap:9px;margin-top:14px}.mygo100-provider{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;min-height:60px;padding:12px 14px;border:1px solid rgba(28,27,24,.09);border-radius:17px;background:#fff;color:#171717;text-decoration:none}.mygo100-provider strong{display:block;font-size:13px}.mygo100-provider span{display:block;margin-top:2px;color:#7f786f;font-size:9px}.mygo100-provider i{color:#ff6200;font-style:normal;font-size:20px}.mygo100-upload{display:grid;place-items:center;min-height:82px;margin-top:16px;border:1px dashed #a9a196;border-radius:18px;background:#fff;color:#4d4842;font-size:12px;font-weight:900;text-align:center;padding:12px}.mygo100-primary{width:100%;min-height:52px;margin-top:10px;border:0;border-radius:999px;background:#ff6200;color:#fff;font:inherit;font-size:12px;font-weight:900}.mygo100-primary:disabled{opacity:.38}.mygo100-status{min-height:20px;margin:9px 0;color:#77716a;font-size:10px;text-align:center}.mygo100-score-result{display:none;padding:14px;border-radius:19px;background:#fff}.mygo100-score-result.open{display:block}.mygo100-score-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.mygo100-score-grid label{display:grid;gap:4px;color:#837c73;font-size:9px;font-weight:850}.mygo100-score-grid label.full{grid-column:1/-1}.mygo100-score-grid input{width:100%;height:42px;border:1px solid #ddd6cc;border-radius:12px;background:#faf8f4;padding:0 10px;font:inherit;font-size:12px}.mygo100-privacy{margin:10px 0 0;color:#8b847c;font-size:9px;line-height:1.55;text-align:center}
/* GOLMY100: deterministic three-slot circular closet */
#screen-closet #closet-content .closet-rack{overflow:hidden!important}
#screen-closet #closet-content .closet-items.mygo100-loop{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;width:100%!important;overflow:hidden!important;scroll-snap-type:none!important;padding:10px 0 14px!important;touch-action:pan-y!important}
#screen-closet #closet-content .closet-items.mygo100-loop.is-single{grid-template-columns:minmax(0,94px)!important;justify-content:center!important}
#screen-closet #closet-content .closet-items.mygo100-loop>.closet-item{display:block!important;width:100%!important;min-width:0!important;max-width:94px!important;justify-self:center!important;transform:translate3d(0,0,0) scale(.84)!important;opacity:.58!important;filter:saturate(.72)!important;transition:transform .34s cubic-bezier(.22,.8,.22,1),opacity .3s ease,filter .3s ease!important;will-change:transform,opacity!important}
#screen-closet #closet-content .closet-items.mygo100-loop>.closet-item.is-carousel-center{transform:scale(1)!important;opacity:1!important;filter:none!important;z-index:3!important}
#screen-closet #closet-content .closet-items.mygo100-loop>.closet-item .closet-item-photo{width:100%!important;height:auto!important;max-width:94px!important;max-height:94px!important;aspect-ratio:1/1!important}
#screen-closet #closet-content .closet-items.mygo100-loop>.closet-item .closet-item-photo-image{max-width:94px!important;max-height:94px!important}
#screen-closet #closet-content .closet-items.mygo100-loop{touch-action:pan-y!important;user-select:none!important}
#screen-closet #closet-content .closet-items.mygo100-loop.is-dragging>.closet-item{transition:none!important}
@media(max-width:360px){#trace-record-tools>.mygo98-plan-entry,#trace-record-tools>.trace-record-button,#trace-record-tools>.mygo100-tool-btn{font-size:10px!important}}
