/* COMPOST SIEGE — layout + panels for play.html. Builds on css/main.css tokens (.panel, .btn, .kicker). */
html, body.play { height: 100%; background: #1a1030; overflow: hidden; overscroll-behavior: none; }
body.play { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.g-root { position: fixed; inset: 0; display: flex; flex-direction: column; background: #1a1030; color: var(--ink); }
.g-top { flex: none; display: flex; align-items: center; gap: 10px; padding: calc(8px + env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) 8px max(10px, env(safe-area-inset-left)); background: var(--ink); color: var(--cream); min-height: 56px; box-shadow: 0 3px 0 rgba(0, 0, 0, .35); z-index: 3; }
.g-back { color: var(--cream); text-decoration: none; font: 400 11px var(--px); letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }
.g-back:hover { color: var(--butter); }
.g-drops { display: inline-flex; align-items: center; gap: 8px; background: var(--cream); color: var(--ink); padding: 6px 12px 6px 8px; box-shadow: 0 -3px 0 #000, 0 3px 0 #000, -3px 0 0 #000, 3px 0 0 #000; }
.g-drops b { font: 400 22px/1 var(--px); min-width: 3ch; text-align: right; }
.g-drops span { font: 400 10px var(--px); letter-spacing: .1em; text-transform: uppercase; color: var(--terra-d); }
.g-wave { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.g-wave span { font: 400 11px/1 var(--px); letter-spacing: .1em; text-transform: uppercase; color: var(--butter); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-wave i { display: block; height: 8px; background: rgba(255, 255, 255, .18); box-shadow: 0 0 0 2px #000; }
.g-wave b { display: block; height: 100%; background: var(--butter); transform-origin: left; transform: scaleX(0); transition: transform .5s var(--ease); }
.g-btns { display: flex; gap: 8px; }
.g-ib { width: 46px; height: 46px; background: var(--butter); border: 0; cursor: pointer; font: 400 14px var(--px); color: var(--ink); touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  box-shadow: 0 -3px 0 #000, 0 3px 0 #000, -3px 0 0 #000, 3px 0 0 #000, inset 0 3px 0 rgba(255, 255, 255, .5), inset 0 -4px 0 rgba(42, 24, 56, .2); }
.g-ib:active { transform: translateY(2px); }
.g-ib[aria-pressed=true] { background: var(--terra); color: var(--cream); }

.g-stage { position: relative; flex: 1; min-height: 0; background: #52c8f0; overflow: hidden; }
#board { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; image-rendering: pixelated; cursor: default; }
#board.planting { cursor: copy; } #board.shovel { cursor: crosshair; }
.g-banner { position: absolute; left: 0; right: 0; top: 18%; text-align: center; font: 700 clamp(26px, 7vw, 56px)/1 var(--px); letter-spacing: .12em; color: var(--cream); text-shadow: var(--ol); pointer-events: none; opacity: 0; }
.g-banner.show { animation: gBan 2.2s var(--ease) both; }
.g-banner.huge { color: var(--pink); font-size: clamp(32px, 10vw, 84px); animation-name: gHuge; }
@keyframes gBan { 0% { opacity: 0; transform: translateY(-14px) scale(.9); } 12% { opacity: 1; transform: none; } 78% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }
@keyframes gHuge { 0% { opacity: 0; transform: scale(1.5); } 10% { opacity: 1; transform: scale(1); } 20% { transform: translateX(-6px); } 30% { transform: translateX(6px); } 40% { transform: none; } 80% { opacity: 1; } 100% { opacity: 0; transform: scale(.96); } }
.g-toast { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); max-width: 90%; background: var(--ink); color: var(--cream); font: 400 12px/1.3 var(--px); letter-spacing: .06em; padding: 9px 12px; opacity: 0; pointer-events: none; text-align: center; }
.g-toast.show { animation: gToast 1.8s ease both; }
@keyframes gToast { 0% { opacity: 0; } 8% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
.g-tag { position: absolute; left: 8px; top: 8px; font: 400 10px var(--px); letter-spacing: .1em; background: var(--pink); color: var(--ink); padding: 5px 7px; pointer-events: none; }

/* cards */
.g-cards { flex: none; display: flex; gap: 8px; justify-content: center; padding: 10px max(10px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); background: var(--ink); z-index: 3; }
.g-card { position: relative; width: 76px; height: 84px; flex: none; background: var(--cream); border: 0; cursor: pointer; padding: 6px 2px 4px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; overflow: hidden;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; color: var(--ink);
  box-shadow: 0 -3px 0 #000, 0 3px 0 #000, -3px 0 0 #000, 3px 0 0 #000, inset 0 3px 0 rgba(255, 255, 255, .7), inset 0 -4px 0 rgba(168, 69, 42, .16); }
.g-card .pix { width: 36px; height: 36px; }
.g-n { font: 400 8px/1 var(--px); letter-spacing: .04em; text-transform: uppercase; max-width: 100%; white-space: nowrap; }
.g-c { font: 400 13px/1 var(--px); color: var(--terra-d); display: inline-flex; align-items: center; gap: 3px; }
.g-c i { font-style: normal; }
.g-k { position: absolute; left: 4px; top: 3px; font: 400 8px var(--px); color: var(--ink2); }
.g-r { position: absolute; inset: 0; background: rgba(42, 24, 56, .62); transform-origin: top; transform: scaleY(0); pointer-events: none; }
.g-l { position: absolute; inset: 0; display: none; place-items: center; background: rgba(42, 24, 56, .7); }
.g-card:not(.is-avail) { filter: grayscale(1); opacity: .6; } .g-card:not(.is-avail) .g-l { display: grid; }
.g-card.is-avail.is-poor .g-c { color: #b0302a; }
.g-card.is-sel { transform: translateY(-5px); background: var(--butter); box-shadow: 0 -3px 0 #000, 0 3px 0 #000, -3px 0 0 #000, 3px 0 0 #000, 0 0 0 6px var(--butter), inset 0 -4px 0 rgba(168, 69, 42, .2); }
.g-card[data-id=shovel] .g-c { visibility: hidden; }

/* overlay panels */
.g-layer { position: absolute; inset: 0; z-index: 10; display: none; align-items: center; justify-content: center; padding: 14px; background: rgba(26, 16, 48, .55); overflow-y: auto; }
.g-layer.on { display: flex; }
.g-layer .panel { width: min(520px, 100%); max-height: 100%; overflow-y: auto; margin: auto; -webkit-overflow-scrolling: touch; }
.g-layer h1 { margin: 0 0 6px; font: 700 clamp(26px, 8vw, 40px)/1 var(--px); letter-spacing: .06em; color: var(--terra); text-shadow: 3px 3px 0 var(--ink); }
.g-layer h2 { margin: 12px 0 8px; font: 400 13px/1 var(--px); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.g-tl { margin: 0 0 4px; font-size: 14px; line-height: 1.4; color: var(--ink2); }
.g-levels { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 10px; padding: 4px; }
.g-lv { position: relative; min-height: 64px; background: var(--leaf); color: var(--cream); border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; touch-action: manipulation;
  box-shadow: 0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink), inset 0 3px 0 rgba(255, 255, 255, .35), inset 0 -4px 0 rgba(42, 24, 56, .25); }
.g-lv:hover:not(.lock) { filter: brightness(1.08); }
.g-lv.lock { background: var(--lilac); color: var(--ink2); }
.g-lv.endless { background: var(--terra); grid-column: span 2; }
.g-ln { font: 700 24px/1 var(--px); } .g-lt { font: 400 9px/1 var(--px); letter-spacing: .1em; text-transform: uppercase; }
.g-ck { position: absolute; right: 5px; top: 3px; font: 700 13px var(--px); color: var(--butter); font-style: normal; }
.g-lk { position: absolute; right: 4px; top: 4px; font-style: normal; line-height: 0; }
.g-wal { margin: 14px 0 4px; padding: 12px; background: var(--cream2); box-shadow: inset 0 0 0 3px var(--ink); }
.g-wal p { margin: 0 0 8px; font-size: 13px; line-height: 1.35; } .g-wal .btn { margin: 4px 0; }
.g-wal .g-wl b { font: 400 11px var(--px); letter-spacing: .08em; text-transform: uppercase; color: var(--leaf-d); }
.g-wn { font-size: 15px !important; } .g-wn b { font: 400 22px var(--px); color: var(--terra-d); }
.g-wm { font-size: 12px !important; color: var(--ink2); }
.g-addr { font: 700 13px ui-monospace, Menlo, monospace; }
.g-err { color: #b0302a; font-weight: 800; min-height: 1em; } .g-err:empty { display: none; }
.g-wpick { display: grid; gap: 6px; } .g-wpick .btn { margin: 0; }
.g-row { display: flex; gap: 10px; margin-top: 12px; } .g-row .btn { flex: 1; padding: 8px 6px; }
.g-col { display: grid; gap: 10px; margin-top: 12px; }
.g-fine { margin: 12px 0 0; font-size: 11px; color: var(--ink2); text-align: center; }
.g-pause { text-align: center; display: grid; gap: 12px; } .g-pause h2 { margin: 0 0 4px; font-size: 18px; }
.g-res { text-align: center; } .g-res h2 { font: 700 clamp(22px, 6vw, 30px)/1.1 var(--px); margin: 0 0 12px; letter-spacing: .06em; }
.g-res.won h2 { color: var(--leaf-d); } .g-res.lost h2 { color: var(--terra-d); }
.g-res dl { display: flex; gap: 10px; margin: 0 0 8px; } .g-res dl > div { flex: 1; background: var(--cream2); padding: 10px 6px; box-shadow: inset 0 0 0 3px var(--ink); }
.g-res dt { font: 400 9px/1.3 var(--px); letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); } .g-res dd { margin: 6px 0 0; font: 700 28px/1 var(--px); }
.g-status { min-height: 2.6em; margin: 4px 0 0; font-size: 13px; font-weight: 800; color: var(--leaf-d); } .g-status.bad { color: #b0302a; }
.g-board { list-style: none; margin: 0 0 12px; padding: 0; max-height: 52vh; overflow-y: auto; }
.g-board li { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; padding: 8px 6px; border-bottom: 2px dashed rgba(42, 24, 56, .25); font: 700 14px var(--body); }
.g-board li span:first-child { font: 400 11px var(--px); color: var(--ink2); } .g-board li span:last-child { font: 400 13px var(--px); color: var(--terra-d); }
.g-board li.me { background: var(--butter); } .g-board em { font: 400 9px var(--px); font-style: normal; background: var(--ink); color: var(--butter); padding: 2px 4px; margin-left: 6px; }
.g-root.is-menu .g-cards { opacity: .45; pointer-events: none; }

/* phone portrait: board above, 4x2 card grid below */
@media (max-width: 640px) {
  .g-back span { display: none; }
  .g-top { gap: 8px; } .g-drops b { font-size: 18px; } .g-drops span { display: none; }
  .g-ib { width: 44px; height: 44px; }
  .g-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); }
  .g-card { width: auto; height: 72px; }
  .g-card .pix { width: 30px; height: 30px; }
}
@media (max-height: 460px) and (orientation: landscape) { .g-card { height: 64px; width: 64px; } .g-card .pix { width: 28px; height: 28px; } .g-cards { padding-top: 6px; padding-bottom: 6px; } .g-top { min-height: 48px; } .g-layer .panel { padding: 10px 14px; } }
@media (prefers-reduced-motion: reduce) { .g-banner.show, .g-banner.huge, .g-toast.show { animation-duration: .01s; animation-delay: 0s; } }

/* ---------------------------------------------------------------- card portraits (skins) */
.g-por, .g-it { display: none; }
.g-por { width: var(--ps, 52px); height: var(--ps, 52px); flex: none; image-rendering: pixelated; pointer-events: none;
  background: url(../assets/game/units.png) no-repeat; --cs: calc(var(--ps, 52px) * 1.25);
  background-size: calc(var(--cs) * 16) auto; background-position: calc(var(--ps, 52px) * -.125) calc(var(--r) * var(--cs) * -1 - var(--ps, 52px) * .2); }
.skin-shed .g-card:not([data-id=shovel]) > .pix, .skin-float .g-card:not([data-id=shovel]) > .pix { display: none; }
.g-card .g-it .pix { width: 16px; height: 16px; display: block; }
.skin-shed .g-por, .skin-float .g-por { display: block; }
.skin-shed .g-it, .skin-float .g-it { display: block; position: absolute; line-height: 0; }

/* ---------------------------------------------------------------- skin A: garden shed (wood bars, seed packets) */
.skin-shed { --wood: #9a6438; --wood-d: #6e4124; --wood-l: #b97a45; }
.skin-shed .g-top, .skin-shed .g-cards {
  background: repeating-linear-gradient(180deg, var(--wood-l) 0 3px, var(--wood) 3px 19px, var(--wood-d) 19px 22px);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, .18), 0 3px 0 var(--ink); }
.skin-shed .g-cards { box-shadow: inset 0 3px 0 rgba(255, 255, 255, .18), 0 -3px 0 var(--ink); gap: 10px; }
.skin-shed .g-back { color: var(--cream); text-shadow: -2px 0 var(--ink), 2px 0 var(--ink), 0 -2px var(--ink), 0 2px var(--ink); }
.skin-shed .g-drops { background: var(--sky-l); padding: 6px 14px 6px 10px; box-shadow: 0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink), inset 0 -6px 0 rgba(82, 200, 240, .55), 4px 4px 0 rgba(42, 24, 56, .35); }
.skin-shed .g-drops span { color: var(--ink2); }
.skin-shed .g-wave span { color: var(--cream); text-shadow: -2px 0 var(--ink), 2px 0 var(--ink), 0 -2px var(--ink), 0 2px var(--ink); }
.skin-shed .g-wave i { height: 10px; background: var(--wood-d); box-shadow: 0 0 0 3px var(--ink); }
.skin-shed .g-wave b { background: repeating-linear-gradient(90deg, var(--leaf) 0 10px, #6fd36f 10px 14px); }
.skin-shed .g-card { --pk: var(--leaf); width: 82px; height: 104px; padding: 0 0 5px; justify-content: flex-start; gap: 0; background: var(--cream);
  box-shadow: 0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink), 4px 5px 0 rgba(42, 24, 56, .45); }
.skin-shed .g-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 46px; background: var(--pk);
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .14) 0 4px, transparent 4px 8px); }
.skin-shed .g-card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--ink) 0 4px, transparent 4px 8px); opacity: .35; }
.skin-shed .g-card[data-id=coconut] { --pk: #a8744a; } .skin-shed .g-card[data-id=watergun] { --pk: var(--sky); }
.skin-shed .g-card[data-id=cactus] { --pk: var(--leaf); } .skin-shed .g-card[data-id=burger] { --pk: #f08a3a; }
.skin-shed .g-card[data-id=spray] { --pk: var(--lilac); } .skin-shed .g-card[data-id=boombox] { --pk: var(--pink); }
.skin-shed .g-card[data-id=sword] { --pk: var(--butter); } .skin-shed .g-card[data-id=shovel] { --pk: #8a7a9a; justify-content: center; gap: 10px; padding-top: 34px; }
.skin-shed .g-card[data-id=shovel] > .pix, .skin-float .g-card[data-id=shovel] > .pix { flex: none; width: 36px; height: 36px; }
.skin-shed .g-por { --ps: 58px; position: relative; z-index: 1; margin-top: 4px; }
.skin-shed .g-it { right: 4px; top: 6px; z-index: 2; background: var(--cream); padding: 2px; box-shadow: 0 0 0 2px var(--ink); }
.skin-shed .g-k { z-index: 2; color: var(--cream); left: 5px; top: 7px; text-shadow: 0 2px 0 var(--ink); }
.skin-shed .g-n { margin-top: 2px; font-size: 8px; }
.skin-shed .g-c { margin-top: auto; font-size: 14px; background: var(--sky-l); color: var(--ink); padding: 3px 6px; box-shadow: 0 0 0 2px var(--ink); }
.skin-shed .g-c::before { content: ''; width: 6px; height: 8px; background: var(--sky); clip-path: polygon(50% 0, 100% 60%, 80% 100%, 20% 100%, 0 60%); }
.skin-shed .g-card.is-avail.is-poor .g-c { background: #f3b8b0; color: #8a1f1a; }
.skin-shed .g-card.is-sel { transform: translateY(-8px) rotate(-2deg); background: var(--cream); box-shadow: 0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink), 0 0 0 7px var(--butter), 0 0 0 10px var(--ink); }
.skin-shed .g-ib { background: var(--butter); }

/* ---------------------------------------------------------------- skin B: floating HUD (board fills the screen) */
.skin-float { --float: 1; background: #52c8f0; }
.skin-float .g-stage { position: absolute; inset: 0; }
.skin-float .g-top { position: absolute; left: 0; right: 0; top: 0; background: none; box-shadow: none; pointer-events: none; padding-top: calc(12px + env(safe-area-inset-top)); }
.skin-float .g-top > * { pointer-events: auto; }
.skin-float .g-back { background: var(--cream); color: var(--ink); min-height: 40px; padding: 0 12px; box-shadow: 0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink), 4px 4px 0 rgba(42, 24, 56, .3); }
.skin-float .g-drops { box-shadow: 0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink), 4px 4px 0 rgba(42, 24, 56, .3); }
.skin-float .g-wave { flex: 0 1 340px; margin: 0 auto; background: var(--cream); padding: 7px 10px 9px; box-shadow: 0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink), 4px 4px 0 rgba(42, 24, 56, .3); }
.skin-float .g-wave span { color: var(--ink); }
.skin-float .g-wave i { background: var(--cream2); box-shadow: 0 0 0 2px var(--ink); }
.skin-float .g-wave b { background: var(--terra); }
.skin-float .g-ib { box-shadow: 0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink), 4px 4px 0 rgba(42, 24, 56, .3), inset 0 -4px 0 rgba(42, 24, 56, .2); }
.skin-float .g-cards { position: absolute; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: max-content; max-width: calc(100% - 20px);
  background: rgba(255, 244, 220, .92); padding: 10px 12px 8px; gap: 6px;
  box-shadow: 0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink), 6px 6px 0 rgba(42, 24, 56, .35); }
.skin-float .g-card { width: 70px; height: 92px; background: transparent; box-shadow: none; padding: 0 0 2px; justify-content: flex-end; gap: 2px; overflow: visible; }
.skin-float .g-card::before { content: ''; position: absolute; left: 12px; right: 12px; top: 38px; height: 22px; background: var(--terra);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%); box-shadow: inset 0 4px 0 var(--terra-d); }
.skin-float .g-card::after { content: ''; position: absolute; left: 9px; right: 9px; top: 35px; height: 6px; background: var(--terra-d); box-shadow: 0 0 0 2px var(--ink); }
.skin-float .g-por { --ps: 56px; position: absolute; left: 7px; top: -12px; z-index: 1; }
.skin-float .g-it { left: 2px; top: 2px; z-index: 2; background: var(--cream); padding: 2px; box-shadow: 0 0 0 2px var(--ink); }
.skin-float .g-k { display: none; }
.skin-float .g-n { font-size: 8px; position: relative; z-index: 1; }
.skin-float .g-c { position: relative; z-index: 1; font-size: 12px; }
.skin-float .g-r { background: rgba(255, 244, 220, .75); }
.skin-float .g-card[data-id=shovel]::before, .skin-float .g-card[data-id=shovel]::after { display: none; }
.skin-float .g-card[data-id=shovel] { justify-content: center; }
.skin-float .g-card.is-sel { transform: translateY(-8px); background: var(--butter); box-shadow: 0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink); }
.skin-float .g-toast { bottom: 128px; }
@media (max-width: 640px) {
  .skin-shed .g-card { height: 92px; } .skin-shed .g-por { --ps: 48px; } .skin-shed .g-card::before { height: 40px; }
  .skin-float .g-top { gap: 6px; } .skin-float .g-wave { padding: 6px 8px 8px; }
  .skin-float .g-cards { display: grid; grid-template-columns: repeat(4, 1fr); width: calc(100% - 20px); padding: 14px 8px 6px; row-gap: 10px; }
  .skin-float .g-card { width: auto; height: 80px; } .skin-float .g-por { --ps: 50px; left: 50%; margin-left: -25px; top: -10px; }
  .skin-float .g-card::before { left: 22%; right: 22%; top: 32px; } .skin-float .g-card::after { left: 18%; right: 18%; top: 29px; }
  .skin-float .g-toast { bottom: 220px; }
}

/* ---------------------------------------------------------------- first-night coach (tutorial.js) */
.g-coach { position: absolute; inset: 0; z-index: 8; pointer-events: none; }
.g-coach[hidden] { display: none; }
.g-co-b { position: absolute; left: 0; top: 0; width: min(330px, calc(100% - 16px)); background: var(--cream); color: var(--ink); padding: 12px 14px 10px; pointer-events: auto;
  box-shadow: 0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink), 6px 6px 0 rgba(42, 24, 56, .4); transition: transform .25s var(--ease); animation: gCoIn .3s var(--ease) both; }
.g-co-b p { margin: 0; font: 700 15px/1.35 var(--body); }
.g-co-b b { color: var(--terra-d); }
.g-co-r { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.g-co-n { font: 400 10px var(--px); letter-spacing: .1em; color: var(--ink2); }
.g-co-skip { background: none; border: 0; padding: 6px 2px; font: 400 10px var(--px); letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.g-co-p { position: absolute; left: 0; top: 0; width: 26px; height: 36px; display: none; pointer-events: none; }
.g-co-p::before, .g-co-p::after { content: ''; position: absolute; clip-path: polygon(30% 0, 70% 0, 70% 52%, 100% 52%, 50% 100%, 0 52%, 30% 52%); animation: gCoBob .7s ease-in-out infinite alternate; }
.g-co-p::before { inset: 0; background: var(--ink); }
.g-co-p::after { left: 4px; right: 4px; top: 3px; bottom: 6px; background: var(--butter); }
@keyframes gCoBob { from { transform: translateY(-6px); } to { transform: translateY(4px); } }
@keyframes gCoIn { from { opacity: 0; } to { opacity: 1; } }
.g-card.g-pulse { z-index: 2; animation: gPulse .9s ease-in-out infinite; }
@keyframes gPulse { 0%, 100% { outline: 4px solid var(--butter); outline-offset: 3px; } 50% { outline: 4px solid var(--butter); outline-offset: 8px; } }
.g-help { font-size: 18px !important; }
@media (max-width: 640px) { .g-co-b p { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .g-co-p::before, .g-co-p::after, .g-card.g-pulse { animation: none; } }
@media (max-height: 460px) and (min-width: 641px) {
  .skin-float .g-cards { padding: 6px 8px 4px; bottom: 6px; } .skin-float .g-card { width: 56px; height: 62px; }
  .skin-float .g-por { --ps: 40px; left: 8px; top: -8px; } .skin-float .g-card::before { top: 26px; height: 16px; left: 12px; right: 12px; } .skin-float .g-card::after { top: 23px; left: 9px; right: 9px; }
  .skin-float .g-n { display: none; } .skin-float .g-top { padding-top: 6px; } .skin-float .g-ib { width: 40px; height: 40px; }
}
