@import url('am-card.css');
/* Daily practice, its calendar, and the optional equipment worn across portal games. */
.gst-slot,.gst-unit,.gst-dialog{--gst-a:var(--am-violet);--gst-d:var(--am-code);--gst-s:var(--am-cream);color:var(--am-ink);font:14px/1.45 system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;text-align:start}
.gst-slot{display:flex;align-items:center;justify-content:flex-start;margin:8px 0 14px}
.gst-home{justify-content:center;margin:7px auto 14px}
.gst-unit{display:inline-flex;align-items:center;flex:none}
.gst-unit [hidden],.gst-dialog [hidden]{display:none!important}
.gst-unit .gst-launch{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:62px;padding:8px 16px 8px 12px;background:var(--am-fog);color:var(--am-ink);border:1px solid color-mix(in srgb,var(--am-violet) 35%,white);border-radius:18px;font:650 16px/1.2 system-ui,sans-serif;white-space:nowrap;cursor:pointer;letter-spacing:0}
.gst-unit .gst-launch:hover{border-color:var(--gst-a)}
.gst-mark{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:12px;background:var(--am-cream);color:var(--am-violet)}
.gst-badge-streak{font-size:16px;font-weight:650}
.gst-days{font-size:34px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums;vertical-align:-.06em}
.gst-today{display:grid;gap:6px;align-content:center;padding-inline-start:12px;border-inline-start:1px solid color-mix(in srgb,var(--gst-a) 30%,transparent);font-size:13px;text-align:start}
.gst-today-label{font-size:12px;font-weight:500;color:var(--am-url)}
.gst-dialog .gst-rule{font-size:12px;line-height:1.5;color:var(--am-url);margin:0 0 10px}
.gst-goal{font-size:12px;color:var(--gst-d);margin:7px 1px 0}
.gst-count{font-variant-numeric:tabular-nums;color:var(--am-url)}
.gst-arrow{font-size:16px;line-height:.75}
.gst-track,.gst-meter{display:block;border-radius:20px;background:var(--am-cream);overflow:hidden}
.gst-track{height:5px;background:#fff}.gst-track i,.gst-meter i{display:block;width:0;height:100%;background:var(--gst-a);border-radius:inherit}
.gst-done .gst-count{color:var(--am-ink)}
#play .play-h:has(.gst-at-level){flex-wrap:wrap;gap:5px 9px}
#play .gst-at-level{margin-inline-start:auto}
.gst-unit.gst-in-game{order:0;margin-inline:auto}
.sn-root.sn-fs .sn-tools .gst-unit .gst-launch{min-height:36px;padding:3px 8px;gap:6px;border-radius:12px;font-size:13px}
.gst-in-game .gst-mark{width:18px;height:22px;color:var(--gst-d);background:transparent}
.gst-in-game .gst-mark svg{width:18px;height:18px}
.gst-in-game .gst-badge-streak{font-size:13px}
.gst-in-game .gst-days{font-size:22px}
.gst-in-game .gst-track,.gst-in-game .gst-arrow,.gst-in-game .gst-today-label{display:none}
.gst-in-game .gst-today{font-size:12px;padding-inline-start:6px}
.gst-achievement{display:grid;justify-items:center;align-content:center;gap:2px;padding:15px 12px 13px;border-radius:16px;background:var(--am-fog);color:var(--am-ink);font-weight:300}
.gst-flame{color:var(--am-code)}.gst-flame svg{display:block;width:38px;height:43px}
.gst-hero-num{font:750 clamp(52px,11vw,76px)/1 system-ui,sans-serif;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.gst-achievement>span:not(.gst-flame){font-size:16px;font-weight:500}
.gst-visit-status{font-size:12px;color:var(--am-ink);margin-top:2px}
.gst-dialog .gst-rule{margin:10px 0;color:var(--am-url);font-weight:300}
.gst-unit button:focus-visible,.gst-dialog button:focus-visible{outline:3px solid var(--am-violet);outline-offset:2px}
.gst-dialog{box-sizing:border-box;padding:0;width:min(442px,calc(100vw - 28px));max-width:100%;max-height:min(85vh,720px);max-height:min(85dvh,720px);margin:auto;border:1px solid var(--am-pale);border-radius:20px;background:#fff;color:var(--am-ink);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;box-shadow:0 16px 68px color-mix(in srgb,var(--am-code) 16%,transparent);z-index:2147483640}
.gst-dialog::backdrop{background:color-mix(in srgb,var(--am-code) 40%,transparent)}
html.game-streak-open{overflow:hidden}
.gst-dialog *{box-sizing:border-box}
.gst-sheet{padding:22px 23px 18px}
.gst-dialog .gst-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 17px;padding:0;background:none;border:0;position:static}
.gst-dialog .gst-heading p{margin:0 0 2px;color:var(--am-url);font-size:12px;font-weight:600}
.gst-dialog .gst-heading h2{margin:0;color:var(--am-ink);font:720 25px/1.25 system-ui,sans-serif;letter-spacing:0}
.gst-dialog button{appearance:none;font:inherit;cursor:pointer;background:#fff;color:var(--am-ink);border:1px solid var(--am-pale);letter-spacing:0}
.gst-dialog button:disabled{cursor:default}
.gst-dialog .gst-close{display:grid;place-items:center;border-radius:50%;width:36px;height:36px;min-width:36px;min-height:36px;margin:0;padding:0;font:400 25px/1 system-ui,sans-serif;color:var(--am-url);background:var(--am-cream)}
.gst-dialog h3{font:700 15px/1.35 system-ui,sans-serif;letter-spacing:0;color:var(--am-ink);margin:0 0 9px}
.gst-dialog .gst-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px 12px;margin:0;padding:13px 15px 14px;border:0;background:var(--gst-s);border-radius:12px}
.gst-summary>div>span,.gst-target{font-size:12px;color:var(--gst-d)}
.gst-summary p{margin:1px 0 0;font-variant-numeric:tabular-nums}
.gst-current{font-size:26px;line-height:1.15;color:var(--gst-d);font-weight:730}
.gst-dialog .gst-status{display:inline-block;padding:3px 9px;border:1px solid color-mix(in srgb,var(--gst-a) 32%,white);border-radius:20px;background:var(--am-white);color:var(--gst-d);font-size:12px}
.gst-meter{height:5px;grid-column:1/-1;background:color-mix(in srgb,var(--gst-a) 18%,var(--am-cream))}
.gst-facts{display:flex;align-items:center;gap:7px 15px;flex-wrap:wrap;color:var(--am-url);font-size:12px;margin:8px 1px 0;font-variant-numeric:tabular-nums}
.gst-facts{justify-content:center}.gst-facts .gst-streak{display:none}
.gst-dialog .gst-data>section:not(.gst-summary){border:0;border-top:1px solid var(--am-cream);margin:15px 0 0;padding:13px 0 0;background:none}
.gst-week{padding:0;margin:0;list-style:none;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.gst-week li{display:grid;justify-items:center;gap:3px;color:var(--am-url);font-size:11px}
.gst-week small{font-size:11px}.gst-week i{display:grid;place-items:center;width:24px;height:24px;border:1px dashed var(--am-pale);border-radius:50%;font:700 15px/1 system-ui;color:var(--gst-d);background:var(--am-cream)}
.gst-week .is-met i{border:0;background:var(--gst-d);color:#fff}
.gst-week .is-today small{font-weight:700;color:var(--gst-d)}
.gst-week .is-today i{outline:2px solid var(--gst-a);outline-offset:1px}
.gst-week li>span{font-size:10px;color:var(--am-url);font-variant-numeric:tabular-nums}
.gst-heads{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.gst-dialog .gst-head-option{display:grid;justify-items:center;align-content:center;gap:1px;border-radius:10px;padding:6px 2px;min-width:0;min-height:68px;background:#fff}
.gst-head-option img{display:block;width:38px;height:38px;object-fit:contain;margin-bottom:1px}
.gst-head-option b{font-size:12px;color:var(--am-ink)}.gst-head-option small{font-size:10px;color:var(--am-url)}
.gst-dialog .gst-head-option:disabled:not([aria-pressed="true"]){background:var(--am-cream);border-style:dashed}
.gst-head-option:disabled:not([aria-pressed="true"]) img{filter:saturate(.45);opacity:.62}
.gst-dialog .gst-zodiac-rule{font-size:12px;line-height:1.6;color:var(--am-url);margin:0 0 12px}
.gst-zodiac-heads{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.gst-zodiac-heads .gst-head-option{padding:8px 3px;gap:4px}
.gst-zodiac-portrait{display:block;width:92px;max-width:100%;aspect-ratio:1;background-size:400% 300%;background-position:var(--gst-head-position);background-repeat:no-repeat}
.gst-dialog[open] .gst-zodiac-portrait{background-image:url('/assets/streak/zodiac-am-v1.webp')}
.gst-head-option:disabled .gst-zodiac-portrait{filter:saturate(.45);opacity:.62}
@media(max-width:480px){.gst-zodiac-heads{grid-template-columns:repeat(3,minmax(0,1fr))}}
.gst-dialog [aria-pressed="true"].gst-head-option,.gst-dialog [aria-pressed="true"].gst-color-option{border-color:var(--gst-a);box-shadow:inset 0 0 0 1px var(--gst-a);background:var(--gst-s)}
.gst-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.gst-dialog .gst-default{border:0;background:none;color:var(--gst-d);font-size:12px;padding:3px;font-weight:650}
.gst-dialog .gst-colornote,.gst-dialog .gst-explain{color:var(--am-url);font-size:12px;margin:0 0 9px}
.gst-colors{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.gst-dialog .gst-color-option{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:5px 1px;border-radius:8px;min-width:0}
.gst-color-option i{width:17px;height:17px;display:block;border-radius:50%;border:1px solid color-mix(in srgb,var(--am-code) 20%,transparent)}
.gst-color-option b{font-size:11px}.gst-color-option small{font:10px/1.2 system-ui,sans-serif;color:var(--am-url)}
.gst-pages{display:flex;gap:11px;align-items:center;justify-content:flex-end;margin-top:8px;font-size:11px;color:var(--am-url)}
.gst-dialog .gst-pages button{border-radius:7px;padding:3px 9px;font-size:12px;min-height:27px}
.gst-pages button:disabled{opacity:.45}
.gst-message{padding:12px 0}
.gst-dialog .gst-explain{font-size:14px;line-height:1.6}
.gst-dialog .gst-action{padding:7px 15px;color:#fff;background:var(--gst-d);border:0;border-radius:9px;font-weight:650}
.gst-dialog .gst-feedback{color:var(--am-code);font-size:12px;margin:7px 0 0}
.gst-feedback:empty{display:none}
html[data-game-streak-head="gorilla"]{--gst-head:url('/assets/streak/gorilla.svg')}
html[data-game-streak-head="singer"]{--gst-head:url('/assets/streak/singer.svg')}
html[data-game-streak-head] .sn-root .sn-seg.sn-head::before,html[data-game-streak-head] .sn-root .sn-snake .sn-fhead{border:0;background:var(--gst-head) var(--gst-head-position,center)/var(--gst-head-size,contain) no-repeat;border-radius:0}
html[data-game-streak-head] .sn-root .sn-fhead::before,html[data-game-streak-head] .sn-root .sn-fhead::after{display:none}
html[data-game-streak-head^="zodiac-"]{--gst-head:url('/assets/streak/zodiac-am-v1.webp');--gst-head-size:400% 300%;--sn-head-rotation:0deg}
html[data-game-streak-head^="zodiac-"] .sn-root .sn-snake .sn-fhead{width:calc(var(--sn-cell,32px) * 1.7);height:calc(var(--sn-cell,32px) * 1.7);margin:calc(var(--sn-cell,32px) * -.85)}
html[data-game-streak-head^="zodiac-"] .sn-root .sn-seg.sn-head::before{position:absolute;inset:-35%;width:170%;height:170%}
html[data-game-streak-head="zodiac-rat"],[data-head="zodiac-rat"]{--gst-head-position:0% 0%}
html[data-game-streak-head="zodiac-ox"],[data-head="zodiac-ox"]{--gst-head-position:33.333333% 0%}
html[data-game-streak-head="zodiac-tiger"],[data-head="zodiac-tiger"]{--gst-head-position:66.666667% 0%}
html[data-game-streak-head="zodiac-rabbit"],[data-head="zodiac-rabbit"]{--gst-head-position:100% 0%}
html[data-game-streak-head="zodiac-dragon"],[data-head="zodiac-dragon"]{--gst-head-position:0% 50%}
html[data-game-streak-head="zodiac-snake"],[data-head="zodiac-snake"]{--gst-head-position:33.333333% 50%}
html[data-game-streak-head="zodiac-horse"],[data-head="zodiac-horse"]{--gst-head-position:66.666667% 50%}
html[data-game-streak-head="zodiac-sheep"],[data-head="zodiac-sheep"]{--gst-head-position:100% 50%}
html[data-game-streak-head="zodiac-monkey"],[data-head="zodiac-monkey"]{--gst-head-position:0% 100%}
html[data-game-streak-head="zodiac-rooster"],[data-head="zodiac-rooster"]{--gst-head-position:33.333333% 100%}
html[data-game-streak-head="zodiac-dog"],[data-head="zodiac-dog"]{--gst-head-position:66.666667% 100%}
html[data-game-streak-head="zodiac-pig"],[data-head="zodiac-pig"]{--gst-head-position:100% 100%}
html[data-game-streak-color] .sn-root{--sn-green:var(--gst-color)}
html[data-game-streak-color] .mg-root{--mg-green:var(--gst-color);--mg-green-deep:var(--gst-deep)}
html[data-game-streak-color] :is(.sf-header,.mg-header,.sg-header,.sn-header){box-shadow:inset 3px 0 0 var(--gst-color)}
html[data-game-streak-color] :is(.sf-progress-fill,.sg-progress>span){background:var(--gst-color)}
@media(max-width:480px){
  .gst-slot{margin:5px 0 8px}.gst-home{margin:4px auto 8px}
  .gst-sheet{padding:16px 14px 12px}.gst-dialog{max-height:90vh;max-height:90dvh;width:calc(100vw - 18px);border-radius:15px;scrollbar-gutter:auto}
  .gst-facts{gap:6px 10px}.gst-dialog .gst-heading{margin-bottom:12px}
  .gst-unit .gst-launch{min-height:54px;padding:7px 10px;gap:8px;border-radius:15px;font-size:14px}
  .gst-mark{width:29px;height:29px;border-radius:9px}.gst-mark svg{width:19px;height:19px}
  .gst-badge-streak{font-size:14px}.gst-days{font-size:29px}
  .gst-today{font-size:12px;gap:4px;padding-inline-start:8px}
  .gst-today-label{display:none}
  .gst-in-game .gst-today,.gst-in-game .gst-kind{display:none}
}
@media(max-width:360px){.gst-kind,.gst-arrow{display:none}}
@media(max-height:480px){.gst-dialog{max-height:calc(100vh - 12px);max-height:calc(100dvh - 12px)}}
@media(forced-colors:active){.gst-meter i,.gst-track i,.gst-color-option i,.gst-week .is-met i{background:Highlight}.gst-week .is-met i{color:HighlightText}}
