body#pt-cabinet:is(#pt-cabinet).pt-cabinet-glass.pt-reference dialog.cg{position:fixed!important;inset:0!important;margin:auto!important;box-sizing:border-box!important;width:min(880px,calc(100vw - 24px))!important;max-width:880px!important;max-height:calc(100dvh - 24px)!important;padding:0!important;border:1px solid #59616a!important;border-radius:24px!important;background:linear-gradient(135deg,#222a30,#11191e)!important;color:#f3f5f6!important;box-shadow:0 30px 100px #0009!important;font-family:Onest,'Segoe UI',sans-serif!important;overflow:hidden!important}
.cg[open]{display:flex!important;flex-direction:column}body#pt-cabinet:is(#pt-cabinet).pt-cabinet-glass.pt-reference dialog.cg::backdrop{background:#03090dd9;backdrop-filter:blur(9px)}.cg *{box-sizing:border-box}.cg [hidden]{display:none!important}.cg button,.cg input{font:inherit}.cg button{cursor:pointer;color:#eaf0f3;background:transparent;border:1px solid #ffffff24;border-radius:12px;min-height:40px;padding:9px 13px;line-height:1.3;font-size:12px}.cg button:focus-visible,.cg input:focus-visible{outline:2px solid #ffcb8e;outline-offset:3px}.cg-head{padding:12px 18px 4px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none}.cg-head>span{font-size:9px;letter-spacing:.17em;color:#aab8c1}.cg-head button{font-size:25px;line-height:1;padding:4px;width:40px;border:0}.cg-toolbar{padding:0 18px 10px;display:flex;align-items:center;justify-content:space-between;gap:12px}.cg-toolbar>span{font-size:11px;font-variant-numeric:tabular-nums;color:#b8c1c8}.cg-toolbar button{font-size:11px;min-height:34px;padding:7px 10px}.cg-progress{height:3px;background:#ffffff10;flex:none}.cg-progress>i{display:block;height:100%;background:#ffcb8e;transition:width .3s ease}.cg-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:18px;flex:1}.cg-layout{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:24px;align-items:start}.cg-visual{min-width:0}.cg .cg-shot{position:relative;display:block;width:100%;border:1px solid #ffffff20;overflow:hidden;padding:0;line-height:0;border-radius:16px;background:#0e151a;min-height:0}.cg-shot>img{display:block;width:100%;height:auto;animation:cg-reveal .35s ease both}.cg-caption{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:5px;font-size:9px;color:#9eaab3;padding-top:5px}.cg-caption button{border:0;padding:6px 0;min-height:30px;font-size:10px;color:#ffcb8e}.cg-chapter{color:#ffcb8e;font-size:10px;letter-spacing:.05em}.cg h2{color:#f3f5f6!important;font-family:Onest,'Segoe UI',sans-serif!important;font-size:23px!important;line-height:1.2!important;font-weight:600!important;letter-spacing:-.4px!important;margin:8px 0 16px!important;outline:none}.cg-copy ol{padding-left:20px;margin:0;color:#c7d0d7;font-size:13px;line-height:1.65}.cg-copy li{padding-left:4px;margin-bottom:13px}.cg-copy li::marker{color:#ffcb8e;font-weight:600}.cg .cg-open{font-size:11px;margin-top:7px;border:0;background:#ffffff09;width:100%;text-align:left;padding:12px}.cg-footer{display:flex;gap:10px;justify-content:space-between;padding:12px 18px max(12px,env(safe-area-inset-bottom));border-top:1px solid #ffffff12;flex:none;background:#151e24}.cg-footer button{min-height:44px}.cg-footer [data-next]{background:linear-gradient(115deg,#ffdea7,#ffb979);border:1px solid #ffe1b9;color:#131b20;font-weight:600;min-width:150px}.cg button:disabled{opacity:.35;cursor:default}.cg-spot{position:absolute;display:block;border:2px solid #ffd294;border-radius:8px;box-shadow:0 0 0 3px #ffca8c24;pointer-events:none;animation:cg-highlight 3.6s ease-in-out infinite;animation-delay:var(--delay)}.cg-spot>i{position:absolute;left:0;top:-10px;border-radius:50%;background:#ffd294;color:#152027;width:20px;height:20px;line-height:20px;font-size:11px;font-weight:700;font-style:normal;box-shadow:0 2px 8px #0008}.cg-spot::after{content:'';position:absolute;right:5px;bottom:4px;width:10px;height:10px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 5px #ffca8c50;animation:cg-tap 3.6s infinite;animation-delay:var(--delay)}.cg-search{display:block;font-size:11px;color:#b6c2ca;margin-bottom:14px}.cg-search input{display:block;width:100%;margin-top:7px;background:#11191f;border:1px solid #58616a;border-radius:12px;color:#f4f6f7;padding:12px;min-height:44px;font-size:14px}.cg-contents{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cg-contents button{display:flex;flex-direction:column;text-align:left;gap:4px;padding:12px}.cg-contents small{font-size:9px;color:#b0bbc3}.cg-contents [aria-current=step]{border-color:#ffcb8e;background:#ffcb8e0c}.cg-contents span{font-size:12px}.cg-zoom{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;background:#11191f}.cg-zoom header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 18px;font-size:11px}.cg-zoom header button{font-size:24px}.cg-zoom>div{overflow:auto;flex:1;min-height:0}.cg-zoom img{display:block;max-width:none!important;margin:0 auto}.cg-image-error{font-size:12px;color:#bfc9d0}.cg-paused *{animation:none!important;transition:none!important}
@keyframes cg-highlight{0%,100%{box-shadow:0 0 0 3px #ffca8c16}40%,65%{box-shadow:0 0 0 5px #ffca8c55,0 0 22px #ffca8c35}}@keyframes cg-tap{0%,25%,100%{opacity:.2;transform:translate(5px,5px)}45%{opacity:1;transform:translate(0,0)}55%{opacity:1;transform:scale(.7)}70%{opacity:.7;transform:scale(1)}}@keyframes cg-reveal{from{opacity:.4;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(max-width:620px){body#pt-cabinet:is(#pt-cabinet).pt-cabinet-glass.pt-reference dialog.cg{width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;border-radius:20px!important}.cg-layout{grid-template-columns:1fr;gap:16px}.cg-body{padding:14px}.cg-head{padding:9px 14px 3px}.cg-toolbar{padding:0 14px 9px}.cg-visual{width:100%;max-width:390px;margin:auto}.cg-copy ol{font-size:12px;line-height:1.6}.cg h2{font-size:21px!important}.cg-contents{grid-template-columns:1fr}.cg-footer{padding-left:14px;padding-right:14px}.cg-footer [data-next]{flex:1}.cg-caption{font-size:8px}}
@media(prefers-reduced-motion:reduce){.cg *{animation:none!important;transition:none!important}}
body#pt-cabinet:is(#pt-cabinet).pt-cabinet-glass.pt-reference:is([data-section=menu],[data-section=profile]) .pt-help-row{display:flex!important;margin-bottom:12px!important}

body#pt-cabinet:is(#pt-cabinet).pt-cabinet-glass.pt-reference dialog.cg{opacity:1!important;transform:none!important;animation:none!important;background:linear-gradient(135deg,#222a30,#11191e)!important;backdrop-filter:none!important}body#pt-cabinet:is(#pt-cabinet).pt-cabinet-glass.pt-reference dialog.cg::backdrop{background:#03090dee!important;backdrop-filter:blur(9px)!important}

.cg-video{display:block;width:100%;max-height:510px;border-radius:15px;background:#0b1217}.cg-caption [data-demo]{font-size:11px;color:#ffce92;border:1px solid #ffce9233;padding:8px 10px;margin-top:3px}
/* One continuous reading surface: never squeeze the screenshot into a flex remainder. */
body#pt-cabinet:is(#pt-cabinet).pt-cabinet-glass.pt-reference dialog.cg{height:calc(100dvh - 24px)!important;overflow-y:auto!important;overscroll-behavior:contain;scroll-padding:16px 0 80px}
.cg[open]{display:block!important}.cg-body{overflow:visible;flex:none;min-height:auto}.cg-layout{align-items:start}.cg-footer{position:sticky;bottom:0;z-index:2}.cg-toolbar{min-height:44px}.cg-visual{width:100%}.cg .cg-shot{height:auto!important;max-height:none!important}.cg-shot>img{height:auto!important;max-height:none!important;object-fit:contain}.cg-zoom{position:fixed;inset:0;z-index:10;height:100dvh;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.cg-zoom header{flex:none;min-height:56px}.cg-zoom>div{display:flex;align-items:flex-start;justify-content:center;padding:8px;overflow:auto}.cg-zoom img{width:100%!important;max-width:780px!important;height:auto!important;flex:none;object-fit:contain}.cg-zoomed{overflow:hidden!important}
@media(max-width:620px){
body#pt-cabinet:is(#pt-cabinet).pt-cabinet-glass.pt-reference dialog.cg{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important;padding-top:env(safe-area-inset-top)!important}
.cg-layout{display:flex;flex-direction:column;gap:20px}.cg-visual{max-width:none;margin:0}.cg-copy{width:100%}.cg-body{padding:12px 16px 20px}.cg-head{padding:8px 16px 0}.cg-toolbar{padding:0 16px 8px}.cg h2{font-size:22px!important}.cg-copy ol{font-size:14px;line-height:1.65}.cg-caption{font-size:11px;gap:8px}.cg-caption button{font-size:12px;min-height:40px}.cg-footer{padding:10px 16px max(10px,env(safe-area-inset-bottom))}.cg-footer button{font-size:14px}.cg-video{max-height:none;width:100%}
}
body#pt-cabinet dialog.cg .cg-shot{opacity:1!important;filter:none!important;background:#0d171d!important;box-shadow:none!important}
body#pt-cabinet dialog.cg .cg-shot::before,body#pt-cabinet dialog.cg .cg-shot::after{display:none!important}
body#pt-cabinet dialog.cg .cg-shot>img{opacity:1!important;filter:none!important;animation:none!important;transform:none!important}
/* Bounded dialog: navigation occupies its own row, outside scrolling content. */
body#pt-cabinet:is(#pt-cabinet).pt-cabinet-glass.pt-reference dialog.cg{
 width:min(820px,calc(100vw - 24px))!important;max-width:820px!important;
 height:min(780px,calc(100dvh - 48px - env(safe-area-inset-top) - env(safe-area-inset-bottom)))!important;
 max-height:calc(100dvh - 48px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;
 padding:0!important;border:1px solid #59616a!important;border-radius:22px!important;overflow:hidden!important;
}
.cg[open]{display:flex!important;flex-direction:column!important}
.cg-head,.cg-toolbar,.cg-progress,.cg-footer{flex-shrink:0}
.cg-body{flex:1 1 0;min-height:0;overflow-y:auto;padding:12px 16px;scrollbar-width:thin}
.cg-footer{position:static!important;padding:12px 16px 16px!important;gap:12px;background:#182128}
.cg-footer button{min-height:46px!important;flex:1;font-size:14px!important}.cg-footer [data-next]{min-width:0}
.cg-head{padding:6px 16px 0}.cg-toolbar{min-height:38px;padding:0 16px 8px}
.cg h2{font-size:19px!important;margin:2px 0 12px!important}
.cg-layout{gap:16px}.cg-copy ol{font-size:13px;line-height:1.5}.cg-copy li{margin-bottom:10px}
.cg-caption{justify-content:center;font-size:10px;gap:8px}.cg-caption button{min-height:32px;font-size:11px;padding:5px}
.cg-visual{margin:0 auto}.cg .cg-shot{width:min(100%,calc(38dvh * var(--shot-ratio)))!important;margin:auto}
.cg-video{max-height:38dvh;object-fit:contain}.cg-layout{animation:cg-reveal .25s ease both}
.cg-zoom{position:absolute;height:100%;padding:0}.cg-zoom header{min-height:48px}
@media(max-width:620px){.cg-layout{gap:12px}.cg-body{padding:10px 14px}.cg-copy{width:100%}.cg-chapter{display:none}.cg-open{margin-top:0!important}.cg-head>span{font-size:8px}.cg-footer{padding:10px 14px 14px!important}}
@media(prefers-reduced-motion:reduce){.cg-layout{animation:none}}
