/* Sweet Esport: ticket entrance and embedded aim trainer. Preview-only rules are scoped. */
:root{--at-accent:#bd6551;--at-soft:#f2dcd0;--at-sage:#6d8678;--at-cream:#fffaf5;--at-stroke:#b17d6238;--at-ease:cubic-bezier(.2,.7,.2,1)}
html[data-od-weather=night]{--at-accent:#f1c2b4;--at-soft:#504658;--at-sage:#b2c6b5;--at-cream:#353956;--at-stroke:#ffffff24}
html[data-od-weather=rain]{--at-accent:#53786d;--at-soft:#d4e2d7;--at-sage:#53786d}
.at-board-bar{position:fixed;inset:0 0 auto;z-index:90;height:56px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--paper);border-bottom:1px solid var(--line);color:var(--ink);font-size:12px}
.at-board-brand{display:flex;align-items:center;gap:15px;white-space:nowrap}
.at-board-brand>small{color:var(--muted);font-size:11px;letter-spacing:1.5px}
.at-board-brand>strong{font-weight:600;font-size:14px}
.at-board-nav,.at-theme-switch{display:flex;align-items:center;gap:5px}
.at-board-nav a,.at-theme-switch button{display:flex;align-items:center;justify-content:center;min-height:32px;padding:4px 13px;border-radius:8px;color:var(--muted);background:transparent;border:1px solid transparent;font:inherit}
.at-board-nav a[aria-current=page]{border-color:var(--at-stroke);background:var(--surface);color:var(--at-accent);font-weight:700}
.at-board-nav a:hover,.at-theme-switch button:hover{background:var(--cream);color:var(--ink)}
.at-theme-switch{padding:2px;border-radius:11px;box-shadow:var(--inset)}
.at-theme-switch button[aria-pressed=true]{background:var(--paper);color:var(--ink);box-shadow:0 1px 5px #0001}
.at-preview-page .site-header{top:56px}
.at-preview-page main{padding-top:138px}
/* Hide the existing local-API connection notice in these visual proposals only. */
.at-preview-page #api-status,.at-preview-page .api-status-banner,.at-preview-page #offline-banner{display:none!important}
.at-entry{position:relative;display:block;width:100%;margin:0;border:1px solid var(--od-hair);color:var(--ink);text-align:left;background:var(--od-glass-strong,var(--surface));box-shadow:var(--raised);cursor:pointer;transition:translate .22s var(--at-ease),box-shadow .22s var(--at-ease);font-family:inherit;isolation:isolate}
.at-entry:hover{translate:0 -3px;box-shadow:5px 9px 18px #72503a20,-4px -4px 15px #ffffff30}
.at-entry:active{translate:0 0;transform:none}
.at-entry:focus-visible{outline:3px solid var(--coral);outline-offset:5px}
.at-entry-title{display:block;font-size:18px;font-weight:700;letter-spacing:1px;line-height:1.4}
.at-entry-sub{display:block;font-size:11px;color:var(--muted);line-height:1.6;margin-top:5px;letter-spacing:.3px}
.at-entry-arrow{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:var(--at-accent);background:var(--paper);box-shadow:2px 3px 8px #80644715;flex:none;font-size:19px;transition:translate .2s var(--at-ease)}
.at-entry:hover .at-entry-arrow{translate:2px -2px}
.at-target{position:relative;display:grid;place-items:center;width:54px;height:54px;border-radius:50%;color:var(--at-accent);border:2px solid currentColor;box-shadow:0 0 0 7px var(--at-soft);flex:none}
.at-target:before{content:'';width:21px;height:21px;border-radius:50%;border:1.5px solid currentColor}
.at-target:after{content:'';position:absolute;width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 -27px 0 -2px currentColor,0 27px 0 -2px currentColor,27px 0 0 -2px currentColor,-27px 0 0 -2px currentColor}
/* A: one compact, tactile shortcut. */
.at-entry-a{display:flex;align-items:center;gap:18px;padding:21px 18px 21px 24px;border-radius:24px;min-height:105px}
.at-entry-a .at-target{width:47px;height:47px;border-width:1.5px;box-shadow:0 0 0 6px var(--at-soft),inset 2px 2px 7px #a66b4c18;background:var(--paper)}
.at-entry-a .at-target:after{box-shadow:0 -23px 0 -2px currentColor,0 23px 0 -2px currentColor,23px 0 0 -2px currentColor,-23px 0 0 -2px currentColor}
.at-entry-a .at-entry-copy{flex:1;min-width:0}
.at-entry-a .at-entry-title{font-size:17px}
.at-entry-a .at-entry-sub{font-size:10px;white-space:nowrap}
/* B: a tiny shooting range, drawn as an object rather than a generic icon. */
.at-entry-b{padding:14px;border-radius:24px;overflow:hidden}
.at-range-head{display:flex;align-items:center;justify-content:space-between;padding:0 3px 10px}
.at-range-head .at-entry-title{font-size:15px}
.at-range-head small{font:11px ui-monospace,Consolas,monospace;color:var(--muted);letter-spacing:1px}
.at-range-window{position:relative;display:block;height:105px;overflow:hidden;border-radius:13px;background:linear-gradient(180deg,color-mix(in srgb,var(--at-soft) 38%,var(--paper)),var(--surface));border:1px solid var(--at-stroke)}
.at-range-wall{position:absolute;inset:0;background-image:linear-gradient(var(--at-stroke) 1px,transparent 1px),linear-gradient(90deg,var(--at-stroke) 1px,transparent 1px);background-size:26px 26px;opacity:.6;mask-image:linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent)}
.at-range-floor{position:absolute;left:-50%;right:-50%;height:90px;bottom:-70px;transform:perspective(130px) rotateX(58deg);transform-origin:center top;background-image:linear-gradient(var(--at-stroke) 1px,transparent 1px),linear-gradient(90deg,var(--at-stroke) 1px,transparent 1px);background-size:22px 22px}
.at-orb{position:absolute;width:25px;height:25px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fff5e8,var(--at-accent) 75%);box-shadow:3px 7px 8px #714b3c2b;transition:translate .35s var(--at-ease)}
.at-orb-one{left:23%;top:24px;width:19px;height:19px;opacity:.65}
.at-orb-two{left:53%;top:48px}
.at-orb-three{right:16%;top:16px;width:16px;height:16px;opacity:.8}
.at-range-aim{position:absolute;left:calc(53% + 5px);top:53px;width:15px;height:15px;border-radius:50%;border:1px solid var(--ink);box-shadow:0 0 0 5px color-mix(in srgb,var(--paper) 40%,transparent);transition:translate .25s var(--at-ease)}
.at-range-aim:before,.at-range-aim:after{content:'';position:absolute;background:var(--ink);left:6px;top:-5px;width:1px;height:23px}
.at-range-aim:after{transform:rotate(90deg)}
.at-entry-b:hover .at-orb-two{translate:24px -12px}
.at-entry-b:hover .at-range-aim{translate:24px -12px}
.at-range-bottom{display:flex;align-items:center;justify-content:space-between;padding:11px 3px 0;gap:8px}
.at-range-bottom .at-entry-sub{margin:0;font-size:11px}
.at-range-cta{font-size:12px;font-weight:600;color:var(--at-accent);white-space:nowrap}
/* C: a perforated warm-up ticket, with real 60-second session length. */
.at-entry-c,.at-entry-ca{padding:0;border-radius:23px;display:grid;grid-template-columns:minmax(0,1fr) 76px;overflow:visible;min-height:125px}
.at-ticket-main{padding:18px 17px 15px;position:relative;min-width:0}
.at-ticket-kicker{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--at-sage);letter-spacing:1.2px;margin-bottom:7px}
.at-ticket-kicker:before{content:'';width:5px;height:5px;background:currentColor;border-radius:50%}
.at-ticket-main .at-entry-title{font-size:19px;letter-spacing:2px}
.at-ticket-main .at-entry-sub{font-size:10px;margin-top:7px;white-space:nowrap}
.at-ticket-stub{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;border-left:1px dashed var(--at-stroke);background:color-mix(in srgb,var(--at-soft) 40%,var(--paper));border-radius:0 23px 23px 0;gap:2px}
.at-ticket-stub:before,.at-ticket-stub:after{content:'';position:absolute;left:-7px;width:12px;height:7px;background:var(--cream);border:1px solid var(--at-stroke)}
.at-ticket-stub:before{top:-1px;border-top:0;border-radius:0 0 10px 10px}
.at-ticket-stub:after{bottom:-1px;border-bottom:0;border-radius:10px 10px 0 0}
.at-ticket-time{font:italic 36px/1.1 Georgia,'Times New Roman',serif;color:var(--at-accent);letter-spacing:-2px}
.at-ticket-unit{font-size:9px;color:var(--muted);letter-spacing:1px}
.at-ticket-stub .at-entry-arrow{width:24px;height:24px;font-size:16px;margin-top:9px;background:transparent;box-shadow:none}
.at-mobile-launch{display:none}
/* The project is loaded locally only on demand and destroyed on close. */
.at-dialog{padding:0;width:min(1280px,calc(100vw - 72px));height:min(820px,calc(100dvh - 96px));max-width:none;max-height:none;overflow:hidden;border:1px solid var(--od-hair);border-radius:24px;background:var(--paper);color:var(--ink);box-shadow:0 24px 90px #1f152d60}
.at-dialog::backdrop{background:#231c2d99;backdrop-filter:blur(8px)}
.at-dialog[open]{display:flex;flex-direction:column}
.at-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 20px;flex:none;border-bottom:1px solid var(--line)}
.at-dialog-heading{display:flex;align-items:center;gap:12px}
.at-dialog-heading .at-target{width:25px;height:25px;border-width:1px;box-shadow:0 0 0 4px var(--at-soft)}
.at-dialog-heading .at-target:before{width:11px;height:11px;border-width:1px}
.at-dialog-heading .at-target:after{width:3px;height:3px;box-shadow:none}
.at-dialog-title{font-size:16px;font-weight:700;letter-spacing:1px}
.at-dialog-heading small{display:block;font-size:10px;color:var(--muted);margin-top:1px}
.at-dialog-actions{display:flex;align-items:center;gap:9px}
.at-dialog-actions button,.at-dialog-actions a{min-height:34px;border-radius:10px;padding:6px 12px;background:var(--surface);font-size:12px;color:var(--ink);border:1px solid var(--line);font-family:inherit}
.at-dialog-actions button:hover,.at-dialog-actions a:hover{color:var(--at-accent);background:var(--cream)}
.at-dialog-frame{position:relative;flex:1;min-height:0;background:#121a23}
.at-dialog-frame iframe{display:block;position:absolute;inset:0;width:100%;height:100%;border:0}
.at-frame-status{position:absolute;inset:0;display:grid;align-content:center;justify-items:center;gap:16px;color:#d9e1e9;font-size:13px;pointer-events:none}
.at-frame-status .at-target{--at-accent:#dca18d;--at-soft:#dca18d15;color:var(--at-accent);scale:.65}
.at-frame-status[hidden]{display:none}
.at-dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 20px;font-size:10px;color:var(--muted);flex:none}
.at-dialog-foot a{text-decoration:underline;text-underline-offset:3px}
.at-dialog:fullscreen{width:100%;height:100%;max-width:none;max-height:none;border-radius:0;border:0}
.at-mobile-note{display:none}
@media(min-width:1480px){.at-preview-page .od-rail-right{top:152px}.at-preview-page .od-rail-left{max-height:calc(100dvh - 170px)}.at-preview-page .od-rail-left .at-entry{flex:none}}
@media(min-width:1480px) and (max-height:900px){.at-entry-b .at-range-window{height:72px}.at-entry-b{padding:11px 13px}.at-entry-b .at-range-head{padding-bottom:7px}.at-entry-b .at-range-bottom{padding-top:8px}.at-entry-a{padding-block:17px;min-height:93px}.at-entry-c,.at-entry-ca{min-height:108px}.at-ticket-main{padding-block:13px}}
@media(max-width:1479px){
 .at-entry{display:none!important}
 :is(.at-preview-page,.at-live-page) .od-rail-left.open{flex-direction:column}
 :is(.at-preview-page,.at-live-page) .od-rail-left.open .at-entry{display:block!important;width:var(--od-rail-l)}
 :is(.at-preview-page,.at-live-page) .od-rail-left.open .at-entry-a{display:flex!important}
 :is(.at-preview-page,.at-live-page) .od-rail-left.open :is(.at-entry-c,.at-entry-ca){display:grid!important}
 .at-mobile-launch{display:flex;position:fixed;left:24px;bottom:92px;z-index:61;gap:9px;align-items:center;min-height:44px;padding:8px 14px;border:1px solid var(--od-hair);border-radius:99px;background:var(--paper);color:var(--ink);box-shadow:var(--raised);font-family:inherit;font-size:12px;font-weight:600}
 .at-mobile-launch .at-target{width:18px;height:18px;border-width:1px;box-shadow:none}
 .at-mobile-launch .at-target:before{width:7px;height:7px;border-width:1px}
 .at-mobile-launch .at-target:after{width:3px;height:3px;box-shadow:none}
 :is(.at-preview-page,.at-live-page) .od-rail-left.open~.at-mobile-launch{display:none}
}
@media(max-width:760px){
 .at-board-bar{padding:0 12px;gap:9px;height:54px}
 .at-board-brand{gap:6px}.at-board-brand>small{display:none}.at-board-brand>strong{font-size:12px;letter-spacing:0}
 .at-board-nav{gap:1px}.at-board-nav a{min-width:29px;padding:3px 8px}
 .at-theme-switch{gap:0}.at-theme-switch button{padding:3px 8px;font-size:11px;min-height:30px}
 .at-dialog{width:calc(100vw - 20px);height:calc(100dvh - 28px);border-radius:17px}
 .at-dialog-head{padding:11px 13px;gap:8px}.at-dialog-title{font-size:14px}
 .at-dialog-heading small{font-size:9px}.at-dialog-actions{gap:5px}
 .at-dialog-actions a{display:none}.at-dialog-actions button{padding:5px 9px;font-size:11px}
 .at-dialog-foot{padding:9px 12px;gap:8px;flex-wrap:wrap;font-size:9px}
 .at-desktop-note{display:none}.at-mobile-note{display:inline}
 .at-mobile-launch{left:18px;bottom:90px}
}
@media(prefers-reduced-motion:reduce){.at-entry,.at-entry-arrow,.at-orb,.at-range-aim{transition:none!important}.at-entry:hover,.at-entry:hover .at-entry-arrow,.at-entry-b:hover .at-orb-two,.at-entry-b:hover .at-range-aim{translate:none}}
@media print{.at-board-bar,.at-mobile-launch,.at-dialog{display:none!important}.at-preview-page .site-header{top:0}.at-preview-page main{padding-top:82px}.at-entry{break-inside:avoid}}

/* Selected direction: C ticket, A crosshair. */
.at-ticket-row{display:flex;align-items:center;gap:13px;min-width:0}
.at-ticket-row .at-entry-copy{min-width:0}
.at-entry-ca .at-ticket-main{padding:16px 15px 17px 18px}
.at-entry-ca .at-ticket-kicker{margin-bottom:12px}
.at-entry-ca .at-target{width:38px;height:38px;border-width:1.5px;box-shadow:0 0 0 5px var(--at-soft),inset 2px 2px 7px #a66b4c18;background:var(--paper)}
.at-entry-ca .at-target:before{width:17px;height:17px}
.at-entry-ca .at-target:after{width:5px;height:5px;box-shadow:0 -19px 0 -1.5px currentColor,0 19px 0 -1.5px currentColor,19px 0 0 -1.5px currentColor,-19px 0 0 -1.5px currentColor}
.at-entry-ca .at-entry-title{font-size:17px;letter-spacing:1px}
.at-entry-ca .at-entry-sub{font-size:10px;letter-spacing:0;margin-top:4px}
.at-frame-status{pointer-events:auto;background:#121a23;z-index:2;text-align:center;padding:24px}
.at-frame-retry{padding:9px 18px;border-radius:10px;border:1px solid #ffffff38;background:#24313e;color:#e8f1ff;font:inherit;cursor:pointer}
.at-frame-retry[hidden]{display:none}
.at-dialog.at-expanded{position:fixed;inset:0;width:100vw;height:100dvh;margin:0;border-radius:0;max-width:none;max-height:none}
@media(min-width:1480px){.at-live-page .at-entry{flex:none}}
@media(min-width:1480px) and (max-height:900px){.at-entry-ca{min-height:108px}.at-entry-ca .at-ticket-main{padding-block:12px}.at-entry-ca .at-ticket-kicker{margin-bottom:8px}}
@media(min-width:1480px) and (max-height:760px){.at-live-page .od-rail-left{max-height:calc(100dvh - 110px);overflow-y:auto;scrollbar-width:thin}.at-live-page .od-rail-left>*{flex-shrink:0}}
@media(max-width:1479px){:is(.at-preview-page,.at-live-page) .od-rail-left.open .at-entry-ca{display:grid!important}}
