








#stage { position: relative; overflow: hidden; }

.hud {
  position: absolute; inset: 0;
  pointer-events: none;
  display: flex; flex-direction: column;
  font: 13px/1.4 -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", sans-serif;
  color: #eaf4ff;
  --pad: 12px;
}
.hud button { pointer-events: auto; font: inherit; }


.hud-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 8px; padding: var(--pad);
}
.hud-chips { display: flex; flex-wrap: wrap; gap: 5px; max-width: 62%; }
.hud-chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(8, 14, 22, .52); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 99px; padding: 3px 9px; font-size: 12px; line-height: 1.5;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  white-space: nowrap;
}
.hud-chip b { font-weight: 700; }
.hud-chip.now { color: #ffd98a; }
.hud-chip.rig { color: #9fd9ff; }



.hud-chip.quick {
  position: relative; font: inherit; font-size: 12px; line-height: 1.5; cursor: pointer; color: #eaf4ff;
  border-color: rgba(127, 209, 255, .5); -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; touch-action: manipulation;
}
.hud-chip.quick i { font-style: normal; color: #8fb1c8; }
.hud-chip.quick s { text-decoration: none; color: #7fd1ff; margin-left: 1px; }
.hud-chip.quick::after { content: ''; position: absolute; inset: -7px -2px; }
.hud-chip.quick:active { transform: scale(.95); background: rgba(34, 66, 96, .8); }
.hud.qoff .hud-chip.quick { visibility: hidden; }



:where(.hud-chip.pick) { color: inherit; }
.hud-chip.pick {
  position: relative; font: inherit; font-size: 12px; line-height: 1.5; cursor: pointer;
  -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; touch-action: manipulation;
}
.hud-chip.pick:not(.lock) { border-color: rgba(127, 209, 255, .5); }
.hud-chip.pick s { text-decoration: none; color: #7fd1ff; font-size: 10px; margin-left: -2px; }
.hud-chip.pick::after { content: ''; position: absolute; inset: -7px -2px; }
.hud-chip.pick:active { transform: scale(.95); }

.hud-menu.condpick .card { display: flex; flex-direction: column; width: min(440px, 92vw); max-height: calc(100% - 16px); padding: 10px 12px; gap: 6px; overflow-y: auto; }
.condpick h3 { margin: 0; font-size: 14px; }
.condpick .cp-row { border-radius: 10px; padding: 3px; }
.condpick .cp-row.on { box-shadow: 0 0 0 1px rgba(127, 209, 255, .6); background: rgba(42, 111, 181, .16); }
.condpick .cp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.condpick #c-skyrow { margin-top: 0 !important; }
.condpick select { width: 100%; padding: 6px 8px; border-radius: 9px; background: #1d2833; border: 1px solid #2b3742; color: #e8eef4; font-size: 13px; }
.condpick .cp-note { margin: 0; font-size: 12px; color: #9fb3c4; }
.condpick .cp-note.warn { color: #ffd166; font-weight: 700; }
.hud-menu.condpick button { padding: 9px; font-size: 13px; }





.hud-chips:has(.hud-chip.rod) { max-width: 70%; }
.hud-chip.rod {
  position: relative; font: inherit; font-size: 12px; line-height: 1.5; cursor: pointer; color: #d6e8f2; padding: 3px 7px 3px 3px; gap: 3px;
  border-color: rgba(127, 209, 255, .35); -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; touch-action: manipulation;
}
.hud-chip.rod b { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 99px; background: #2a4152; font-size: 11px; }
.hud-chip.rod s { text-decoration: none; font-weight: 800; color: #ffd166; }
.hud-chip.rod::after { content: ''; position: absolute; inset: -7px -2px; }
.hud-chip.rod:active { transform: scale(.95); }
.hud-chip.rod.on { border-color: #ffd166; color: #fff; background: rgba(51, 64, 42, .78); }
.hud-chip.rod.on b { background: #ffd166; color: #2a2000; }
.hud-chip.rod.hand { opacity: .62; }
.hud-chip.rod.hand.on { opacity: 1; }
.hud-chip.rod.snag { border-color: rgba(255, 112, 90, .7); }

.hud-chip.rod.empty { border-style: dashed; border-color: rgba(190, 210, 225, .55); opacity: .78; }
.hud-chip.rod.bite { animation: rod-blink .9s ease-in-out infinite; }
.hud-chip.rod.pull { animation: rod-blink .45s ease-in-out infinite; border-color: #ffd166; }
@keyframes rod-blink { 0%, 100% { background: rgba(8, 14, 22, .52); } 50% { background: rgba(255, 196, 83, .62); color: #fff; } }
@media (prefers-reduced-motion: reduce) { .hud-chip.rod.bite, .hud-chip.rod.pull { animation: none; background: rgba(255, 196, 83, .5); } }

.hud-chip.head { color: #ffc9a3; }

.hud-chip.storm { color: #ffc0b0; border-color: rgba(255, 112, 90, .55); background: rgba(92, 18, 12, .62); font-weight: 700; }

.hud-bandwrap { position: relative; width: 100%; height: 0; }
.hud-band {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -6px);
  max-width: min(560px, 78vw); padding: 5px 12px; border-radius: 10px;
  background: rgba(92, 18, 12, .86); border: 1px solid rgba(255, 112, 90, .55); color: #ffe2d8;
  font-size: 12px; line-height: 1.45; text-align: center; white-space: normal;
  opacity: 0; pointer-events: none; z-index: 11; transition: opacity .35s ease, transform .35s ease;
}
.hud-band.on { opacity: 1; transform: translate(-50%, 0); }

.hud-captwrap { position: relative; width: 100%; height: 0; }
.hud-capt {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -6px);
  max-width: min(520px, 76vw); padding: 5px 14px; border-radius: 12px;
  background: rgba(8, 18, 28, .86); border: 1px solid rgba(160, 200, 230, .45); color: #fff;
  font-size: 14px; font-weight: 700; line-height: 1.4; text-align: center; white-space: normal;
  opacity: 0; pointer-events: none; z-index: 11; transition: opacity .25s ease, transform .25s ease;
}
.hud-capt.on { opacity: 1; transform: translate(-50%, 0); }
.hud-capt.low { top: 44px; }











.hud-ticker {
  position: absolute; left: 216px; top: 42px; z-index: 3;
  max-width: min(360px, calc(100% - 416px));
  display: flex; align-items: center; gap: 7px;
  padding: 3px 11px 3px 8px;
  background: rgba(8, 14, 22, .66); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 99px; overflow: hidden;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 12px; line-height: 1.5;
  animation: tk-in .25s ease-out;
}
@keyframes tk-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }


.hud-ticker[hidden] { display: none !important; }
.hud-ticker .tk-h {
  flex: 0 0 auto; color: #9fd9ff; font-weight: 700;
  border-right: 1px solid rgba(255, 255, 255, .14); padding-right: 7px;
}


.hud-ticker.game .tk-h { color: #7fe0a8; }

.hud-ticker .tk-w { flex: 1 1 auto; min-width: 0; display: flex; overflow: hidden; }
.hud-ticker .tk-r {
  flex: 1 1 auto; min-width: 0; display: flex; gap: 16px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.hud-ticker .tk-i { display: inline-flex; align-items: baseline; gap: 5px; }
.hud-ticker .tk-i b { font-weight: 700; color: #eaf4ff; }
.hud-ticker .tk-i i { font-style: normal; color: #8fa6b8; }
.hud-ticker .tk-i u { text-decoration: none; color: #ffd98a; font-weight: 700; }
.hud-ticker .tk-i s { text-decoration: none; color: #7f97ab; font-size: 10px; }

@media (prefers-reduced-motion: reduce) {
  .hud-ticker { animation: none; }
}
.hud-right { display: flex; align-items: center; gap: 8px; }


.hud-right { flex-shrink: 0; }
.hud-tally { white-space: nowrap; }
.hud-tally {
  display: flex; gap: 8px; align-items: center;
  background: rgba(8, 14, 22, .52); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 99px; padding: 4px 11px; font-size: 12px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hud-tally i { font-style: normal; opacity: .6; margin-right: 2px; }
.hud-tally b { font-weight: 700; }
.hud-tally .hit { color: #3ddc84; }
.hud-tally .miss { color: #ff6b6b; }
.hud-tally .early { color: #ffc453; }

.hud-icon {
  position: relative;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(8, 14, 22, .52); border: 1px solid rgba(255, 255, 255, .14);
  color: #cfe0ef; cursor: pointer; font-size: 15px; line-height: 1;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hud-icon:active { background: rgba(30, 48, 66, .8); }

.hud-icon::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; }



.hud-center {
  flex: 1 1 auto; min-height: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 16px; gap: 4px;
}
.hud-title {
  font-size: 19px; font-weight: 700; letter-spacing: -.3px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .75), 0 0 2px rgba(0, 0, 0, .9);
  transition: font-size .12s ease, color .12s;
}
.hud-title.big { font-size: 34px; }
.hud-title.alarm { color: #ffd98a; animation: hud-pulse .5s ease-in-out infinite; }




.hud-read {
  position: absolute; left: 49px; top: 63px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  max-width: 46%; text-align: left; pointer-events: none;
}
.hud-read:empty { display: none; }
.hud-read .hud-hero { margin-top: 0; }

.hud-read.right { align-items: flex-end; text-align: right; }


.hud.fight .hud-chips, .hud.fight .hud-tally { visibility: hidden; }


#stage.landing .hud-read, #stage.landing .hud-drag { visibility: hidden; }


.hud-shoutwrap { position: relative; width: 100%; height: 0; }
.hud-shout {
  position: absolute; left: 50%; top: 2px; transform: translate(-50%, 0) scale(.6);
  font-family: 'Black Han Sans', -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  font-size: 40px; color: #ffb347; letter-spacing: 0; white-space: nowrap;
  -webkit-text-stroke: 1.5px rgba(40, 12, 0, .85);
  text-shadow: 0 3px 0 rgba(60, 20, 0, .55), 0 0 22px rgba(255, 140, 40, .55);
  opacity: 0; pointer-events: none; z-index: 12;
}
.hud-shout.on { animation: hud-shout 1.25s cubic-bezier(.2, .9, .3, 1.2) forwards; }
@keyframes hud-shout {
  0%   { opacity: 0; transform: translate(-50%, 0) scale(.55) rotate(-4deg); }
  14%  { opacity: 1; transform: translate(-50%, 0) scale(1.12) rotate(-2deg); }
  26%  { transform: translate(-50%, 0) scale(1) rotate(-2deg); }
  78%  { opacity: 1; transform: translate(-50%, -3px) scale(1) rotate(-2deg); }
  100% { opacity: 0; transform: translate(-50%, -9px) scale(.96) rotate(-2deg); }
}
@media (max-height: 420px) { .hud-shout { font-size: 28px; } }


.hud-shout.mid.on { animation: hud-shout-mid 1.35s ease-out forwards; }
@keyframes hud-shout-mid {
  0%     { opacity: 0; transform: translate(-50%, 0) scale(1.15); }
  6%     { opacity: 1; transform: translate(-50%, 0) scale(1.15); }
  18.5%  { opacity: 1; transform: translate(-50%, 0) scale(1); }
  85%    { opacity: 1; transform: translate(-50%, 0) scale(1); }
  100%   { opacity: 0; transform: translate(-50%, -4px) scale(.98); }
}
@media (prefers-reduced-motion: reduce) {
  .hud-shout.on, .hud-shout.mid.on { animation: hud-shout-calm 1.2s ease forwards; }
  @keyframes hud-shout-calm { 0%, 100% { opacity: 0; transform: translate(-50%, 0); } 15%, 80% { opacity: 1; transform: translate(-50%, 0); } }
}
@keyframes hud-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}
.hud-sub {
  font-size: 12px; color: #b9cddd;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .8);
}

.hud-sub.flash { color: #ffd66a; animation: hud-subflash .3s steps(2, start) 2; }
@keyframes hud-subflash { 50% { opacity: .35; } }


.hud-bottom {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 10px; padding: var(--pad);
}
.hud.lefty .hud-bottom { flex-direction: row-reverse; }


.hud-acts { display: flex; gap: 7px; align-items: flex-end; flex-wrap: wrap; max-width: 54%; }
.hud-act {
  min-width: 62px; padding: 9px 11px 8px;
  background: rgba(10, 18, 28, .62); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px; color: #dcebf7; cursor: pointer; text-align: center;
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  transition: transform .09s, background .12s, border-color .12s;
  touch-action: none;
}
.hud-act b { display: block; font-size: 14px; font-weight: 700; letter-spacing: -.2px; }
.hud-act i { display: block; font-style: normal; font-size: 10px; color: #8fa9bd; margin-top: 2px; }
.hud-act:active, .hud-act.press { transform: scale(.94); background: rgba(34, 66, 96, .8); }
.hud-act.off { opacity: .35; }

.hud-act.cue {
  border-color: #ffc453; box-shadow: 0 0 0 1px rgba(255, 196, 83, .35), 0 0 16px rgba(255, 196, 83, .35);
  animation: hud-cue .7s ease-in-out infinite;
}
@keyframes hud-cue {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 196, 83, .3), 0 0 10px rgba(255, 196, 83, .25); }
  50% { box-shadow: 0 0 0 2px rgba(255, 196, 83, .6), 0 0 22px rgba(255, 196, 83, .5); }
}





.hud-main { display: flex; flex-direction: column; align-items: center; gap: 9px; }


.hud-cast {
  position: absolute; right: 60px; bottom: 172px; transform: translateX(-50%);
  min-width: 78px; min-height: 40px; padding: 5px 12px 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; line-height: 1.1;
  background: rgba(10, 18, 28, .62); border: 1px solid rgba(255, 214, 106, .45); border-radius: 12px;
  color: #ffe6a8; cursor: pointer; touch-action: none; -webkit-tap-highlight-color: transparent;
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  transition: transform .09s, background .12s, opacity .12s;
}
.hud-cast b { font-size: 13px; font-weight: 700; letter-spacing: -.2px; }
.hud-cast b::after { content: ' ⇄'; font-weight: 400; color: rgba(255, 230, 168, .7); }
.hud-cast i { font-style: normal; font-size: 10px; color: #b9cddd; }
.hud-cast:active, .hud-cast.press { transform: translateX(-50%) scale(.94); background: rgba(34, 66, 96, .8); }
.hud-cast.off { opacity: .55; cursor: default; }
.hud-cast.off b::after { content: ''; }

.hud-strike {
  position: absolute; right: 96px; bottom: 92px; width: 72px; height: 72px;
  padding: 0; border-radius: 50%; border: 1px solid rgba(120, 190, 255, .5);
  display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1.1;
  background: linear-gradient(180deg, rgba(78, 163, 255, .92), rgba(40, 110, 190, .92));
  color: #04121f; font-weight: 700; font-size: 15px; letter-spacing: 1px; cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .45);
  transition: transform .09s, filter .12s;
  touch-action: none; -webkit-tap-highlight-color: transparent;
}
.hud-strike:active { transform: scale(.94); filter: brightness(.86); }
.hud-strike.off { opacity: .32; }

.hud-strike.wait {
  background: linear-gradient(180deg, rgba(128, 140, 152, .88), rgba(84, 94, 106, .88));
  border-color: rgba(210, 220, 230, .35); color: #e4ebf0; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); cursor: default;
}

.hud-strike.dim { opacity: .45; filter: saturate(.4); box-shadow: none; }

.hud-strike.hot {
  animation: hud-hot .42s ease-in-out infinite;
  border-color: #ffd98a;
  background: linear-gradient(180deg, rgba(255, 214, 130, .96), rgba(240, 160, 60, .96));
}
@keyframes hud-hot {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 18px rgba(0, 0, 0, .45); }
  50% { transform: scale(1.08); box-shadow: 0 0 26px rgba(255, 200, 100, .7); }
}




.hud-lever {
  position: absolute; right: 96px; bottom: 92px; width: 72px; height: 72px;
  padding: 0; border-radius: 50%; border: 1px solid rgba(225, 233, 241, .5);
  display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1.1;
  background: radial-gradient(circle at 36% 30%, rgba(222, 229, 236, .95), rgba(118, 131, 146, .95));
  color: #0c1520; font-weight: 700; font-size: 15px; letter-spacing: 1px; cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .45);
  transition: transform .09s, filter .12s, box-shadow .12s;
  touch-action: none; -webkit-tap-highlight-color: transparent;
}
.hud-lever::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(#ffd98a calc(var(--k, 0) * 360deg), transparent 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
}
.hud-lever.on { transform: scale(.94); filter: brightness(.84); box-shadow: inset 0 3px 10px rgba(0, 0, 0, .5); }
.hud-lever.hot { border-color: #ffd98a; animation: hud-lever-hot .7s ease-in-out infinite; }
@keyframes hud-lever-hot {
  0%, 100% { box-shadow: 0 4px 18px rgba(0, 0, 0, .45); }
  50% { box-shadow: 0 0 22px rgba(255, 200, 100, .8); }
}
@media (prefers-reduced-motion: reduce) { .hud-lever.hot { animation: none; box-shadow: 0 0 12px rgba(255, 200, 100, .7); } }


.hud-reel {
  width: 96px; height: 96px; border-radius: 50%;
  background: transparent; border: 0; color: transparent;
  cursor: pointer; touch-action: none; -webkit-tap-highlight-color: transparent;
  display: flex; align-items: center; justify-content: center;
}
.hud-reel span {
  font-size: 12px; font-weight: 700; letter-spacing: 1px; color: rgba(233, 244, 255, .82);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .8);
  transform: translateY(2px);
}
.hud-reel.on span { color: #bfe6ff; }
.hud-reel.off span { color: rgba(140, 160, 178, .45); }


.hud-hint {
  position: absolute; left: 0; right: 0; bottom: 2px;
  text-align: center; font-size: 12px; color: rgba(160, 184, 204, .8);

  text-shadow: 0 0 2px rgba(0, 0, 0, .95), 0 1px 6px rgba(0, 0, 0, .8); pointer-events: none;
}


@media (max-height: 420px) {
  .hud-reel { width: 78px; height: 78px; }
  .hud-act { min-width: 54px; padding: 7px 9px 6px; }
  .hud-act b { font-size: 13px; }
  .hud-title.big { font-size: 27px; }
}



.hud-menu {
  position: absolute; inset: 0; z-index: 30;
  background: rgba(5, 9, 14, .72); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  pointer-events: auto;
}
.hud-menu .card {
  width: min(320px, 84vw);
  background: #141c25; border: 1px solid #2b3742; border-radius: 16px;
  padding: 16px; display: flex; flex-direction: column; gap: 9px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .6);
}
.hud-menu h3 { margin: 0 0 4px; font-size: 15px; }
.hud-menu button {
  width: 100%; padding: 12px; border-radius: 10px; cursor: pointer;
  background: #1d2833; border: 1px solid #2b3742; color: #e8eef4; font-size: 14px;
}
.hud-menu button:active { background: #27323e; }
.hud-menu button.primary { background: #2a6fb5; border-color: #3f8ad6; color: #fff; }
.hud-menu .row { display: flex; gap: 8px; }
.hud-menu .row button { flex: 1; }
.hud-menu .vol { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #b9cddd; padding: 2px 4px; }
.hud-menu .vol input { flex: 1; height: 26px; accent-color: #4fa3ea; cursor: pointer; }
.hud-menu .toggle { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: #b9cddd; }
.hud-menu .toggle b { color: #e8eef4; font-weight: 600; }


.hud-menu.pcard .card { width: min(560px, 92vw); max-height: calc(100% - 16px); padding: 10px 12px; gap: 6px; overflow: hidden;
  display: flex; flex-direction: column; }
.pcard .pc-top { display: flex; align-items: center; gap: 8px; }
.pcard .pc-top h3 { flex: 1; margin: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard .pc-top h3 span { color: #9fb3c4; font-weight: 400; font-size: 12px; margin-left: 4px; }
.hud-menu.pcard .pc-x { width: 32px; height: 32px; padding: 0; flex: none; border-radius: 50%; font-size: 14px; }
.pcard .pc-body { display: flex; flex-direction: column; gap: 4px; min-height: 0; overflow-y: auto; }
.pcard .pc-h { font-size: 12px; color: #e8eef4; font-weight: 600; }
.pcard .pc-h span { font-weight: 400; color: #9fb3c4; font-size: 11px; margin-left: 4px; padding: 1px 6px; border-radius: 8px; background: #22313f; }
.pcard .pc-h.real span { background: #1d3a5c; color: #bcd9f5; }
.pcard .pc-row { display: flex; flex: none; gap: 8px; overflow-x: auto; overflow-y: hidden; padding-bottom: 2px; }
.pcard figure { margin: 0; flex: none; width: 150px; cursor: pointer; }
.pcard figure img { display: block; width: 150px; height: 84px; object-fit: cover; border-radius: 8px; background: #0d141b; }
.pcard figcaption { display: flex; gap: 4px; font-size: 11px; color: #b9cddd; margin-top: 2px; white-space: nowrap; overflow: hidden; }
.pcard figcaption b { color: #e8eef4; font-weight: 600; }
.pcard figcaption i, .pcard figcaption s { font-style: normal; text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
.pcard figcaption s { color: #8aa0b2; }
.pcard .pc-big { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 0; cursor: pointer; }
.pcard .pc-big[hidden], .pcard .pc-body[hidden] { display: none; }
.pcard .pc-big img { max-width: 100%; max-height: min(60vh, 420px); object-fit: contain; border-radius: 8px; }
.pcard .pc-cap { font-size: 12px; color: #b9cddd; }
.hud-menu.pcard button.primary { padding: 9px; flex: none; }
@media (max-height: 340px) {
  .pcard figure img { height: 52px; }
  .hud-menu.pcard .card { gap: 4px; padding: 8px 12px; }
  .hud-menu.pcard .pc-x { width: 28px; height: 28px; }
  .hud-menu.pcard button.primary { padding: 7px; }
  .pcard .pc-big img { max-height: calc(100vh - 132px); }
}






body.game-shell { display: block; }
body.game-shell #stage { position: fixed; inset: 0; }
body.game-shell header,
body.game-shell footer { display: none !important; }


#hidden-controls {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}


#hudcv {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 5;
}
.hud { z-index: 10; }




body.game-shell #state,
body.game-shell #hint { display: none !important; }
body.game-shell #state-unused {
  position: absolute; left: 0; right: 0; top: auto; bottom: 74px; z-index: 6;
  text-align: center; font-size: 13px; color: #cfe2f2;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .85); pointer-events: none;
}
body.game-shell #msg {
  z-index: 8; font-size: 30px; font-weight: 800; letter-spacing: -.5px;
  text-shadow: 0 3px 22px rgba(0, 0, 0, .8), 0 0 3px rgba(0, 0, 0, .95);
}
body.game-shell #msg small { font-size: 13px; color: #cfe2f2; }
body.game-shell #hint {
  bottom: 4px; z-index: 6; font-size: 11px; color: rgba(160, 184, 204, .75);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .8);
}







.tb {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(4, 8, 13, .74); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center; padding: 14px;
  font: 14px/1.45 -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", sans-serif;
}

.tb-sheet {
  position: relative; width: min(880px, 100%); height: min(460px, 100%);
  display: flex; flex-direction: column; overflow: hidden; color: #e8eef4;
  border-radius: 16px; border: 1px solid #3d5566;
  background: radial-gradient(120% 90% at 50% -10%, rgba(94, 170, 150, .18), transparent 60%), linear-gradient(180deg, #1c2d33, #121c22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .07), inset 0 0 0 3px rgba(9, 16, 20, .55);
}
.tb-head {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px; flex: 0 0 auto;
  border-bottom: 1px solid #2b3f49; background: linear-gradient(180deg, rgba(120, 214, 170, .12), transparent);
}
.tb-logo { display: inline-flex; flex: 0 0 auto; }
.tb-logo .tb-svg { width: 26px; height: 20px; }
.tb-head b { font-size: 16px; letter-spacing: -.3px; }
.tb-where { color: #8fb1bd; font-size: 12px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-x {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid #3a5260; flex: 0 0 auto;
  background: #20323b; color: #cfe0ef; cursor: pointer; font-size: 14px;
}


.tb-main { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(200px, 34%) minmax(0, 1fr); gap: 10px; padding: 10px 12px; }
.tb-rc {
  position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 10px 11px; border-radius: 13px;
  background: linear-gradient(160deg, #27404a, #18272e 70%); border: 1px solid #3f5f6c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 6px 16px rgba(0, 0, 0, .35);
}
.tb-rc-top { display: flex; align-items: center; gap: 6px; min-width: 0; }
.tb-rc-type { font-size: 11px; color: #8fb1bd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-rc-id { display: flex; align-items: center; gap: 8px; margin-top: 6px; min-width: 0; }
.tb-rc-fish { display: inline-flex; flex: 0 0 auto; }
.tb-rc-fish .tb-fish { width: 38px; height: 38px; margin-left: -12px; border: 2px solid #2d4a55; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.tb-rc-fish .tb-fish:first-child { margin-left: 0; }
.tb-rc-name {
  font-size: 19px; letter-spacing: -.5px; line-height: 1.2; min-width: 0; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.tb-rc-tg { margin-top: 4px; font-size: 11.5px; color: #a9d6e6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-rc-learn {
  margin: 4px 0 0; font-size: 11.5px; color: #ffd98a; line-height: 1.45; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.tb-rc-btns { margin-top: auto; padding-top: 8px; display: flex; gap: 6px; }
.tb-rc-b {
  flex: 0 0 auto; padding: 6px 10px; border-radius: 9px; cursor: pointer; font-size: 12.5px; font-weight: 700; color: #d8ecf6;
  background: linear-gradient(180deg, #2d4653, #1f323b); border: 1px solid #466675;
}
.tb-rc-b.tb-rc-swap { flex: 1 1 auto; color: #3a2400; background: linear-gradient(180deg, #ffd166, #f0a830); border-color: #ffe29a; }
.tb-rc-b i { font-style: normal; opacity: .6; font-size: 11px; margin-left: 2px; }
.tb-rc-b:active, .tb-eq:active { transform: scale(.97); }
.tb-rc.fresh, .tb-eq.fresh { animation: tb-equip .75s ease-out; }
@keyframes tb-equip {
  0% { box-shadow: 0 0 0 0 rgba(255, 209, 102, .9); border-color: #ffd166; transform: scale(1.04); }
  100% { box-shadow: 0 0 0 14px rgba(255, 209, 102, 0); transform: scale(1); }
}
.tb-eqs {
  min-width: 0; min-height: 0; display: grid; gap: 8px; padding: 8px; border-radius: 13px;
  grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr);
  background: #0c161b; border: 1px solid #243841; box-shadow: inset 0 3px 10px rgba(0, 0, 0, .6);
}
.tb-eqs[data-n="2"], .tb-eqs[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.tb-eqs[data-n="1"], .tb-eqs[data-n="2"], .tb-eqs[data-n="3"] { grid-auto-rows: 96px; align-content: center; }
.tb-eqs[data-n="1"] { grid-template-columns: minmax(0, 250px); justify-content: center; }

.tb-eq {
  position: relative; min-width: 0; min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr 1fr;
  column-gap: 8px; align-items: center; text-align: left; padding: 6px 9px 7px; border-radius: 11px; cursor: pointer; color: #e8f2f7;
  background: linear-gradient(180deg, #1e2f37, #152228); border: 1px solid #33505d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 2px 5px rgba(0, 0, 0, .35);
  transition: transform .1s ease, border-color .12s, box-shadow .12s;
}
.tb-eq:hover { border-color: #5aa6bf; }
.tb-eq::after { content: '▸'; position: absolute; right: 8px; top: 5px; font-size: 11px; color: #5d8797; }
.tb-eq-lb { grid-column: 1 / -1; font-size: 10.5px; color: #86aebd; letter-spacing: .2px; line-height: 1.3; }
.tb-eq-ic {
  grid-row: 2 / 4; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px;
  background: radial-gradient(circle at 50% 40%, #28414c, #15242a); border: 1px solid #2c4652;
}
.tb-eq-ic .tb-svg { width: 38px; height: 38px; }
.tb-eq-ic svg:not(.tb-svg) { width: 40px; height: 14px; }
.tb-eq-ic .tb-dot { width: 30px; height: 30px; }
.tb-eq-v { font-size: 15px; letter-spacing: -.3px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; align-self: end; }
.tb-eq-sub { font-size: 10.5px; color: #8fb1bd; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; align-self: start; }
.tb-foot { display: flex; gap: 9px; padding: 9px 12px; flex: 0 0 auto; border-top: 1px solid #2b3f49; background: rgba(10, 18, 22, .6); }
.tb-foot button { flex: 1; padding: 11px; border-radius: 11px; cursor: pointer; font-size: 15px; font-weight: 700; }
.tb-save { background: linear-gradient(180deg, #2b3f49, #1d2b32); border: 1px solid #3c5563; color: #cfe0ef; }
.tb-go {
  background: linear-gradient(180deg, #4fbe7c, #2f9358); border: 1px solid #6fd99a; color: #06240f;
  box-shadow: 0 4px 16px rgba(47, 147, 88, .4);
}
.tb-go:active, .tb-save:active, .tb-done:active { filter: brightness(.9); transform: translateY(1px); }


.tb-win {
  position: absolute; inset: 0; z-index: 2; display: none; flex-direction: column;
  background: radial-gradient(110% 80% at 50% -10%, rgba(94, 170, 200, .16), transparent 60%), linear-gradient(180deg, #1c2a33, #131c23);
}
.tb[data-win]:not([data-win=""]) .tb-win { display: flex; animation: prep-pop .16s ease-out; }
.tb-win-top { display: flex; align-items: center; gap: 8px; height: 42px; flex: 0 0 auto; padding: 0 12px 0 8px; border-bottom: 1px solid #2b3f49; }
.tb-back {
  flex: 0 0 auto; width: 36px; height: 30px; border-radius: 9px; cursor: pointer; font-size: 13px; color: #d8ecf6;
  background: linear-gradient(180deg, #2d4653, #1f323b); border: 1px solid #466675;
}
.tb-wt { font-size: 15px; }
.tb-win-foot { flex: 0 0 auto; display: flex; justify-content: flex-end; align-items: center; min-height: 48px; padding: 7px 12px; border-top: 1px solid #2b3f49; background: rgba(10, 18, 22, .6); }
.tb-done {
  padding: 8px 24px; border-radius: 10px; cursor: pointer; font-size: 14.5px; font-weight: 800; color: #06240f;
  background: linear-gradient(180deg, #4fbe7c, #2f9358); border: 1px solid #6fd99a; box-shadow: 0 3px 12px rgba(47, 147, 88, .35);
}

.tb-tabs, .tb-rail { display: none; }



.tb-detail { flex: 1 1 auto; min-height: 0; padding: 10px 12px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; -webkit-overflow-scrolling: touch; }
.tb-detail > * { display: none; }
.tb[data-win="rig"] .tb-detail { display: none; }
.tb[data-win="info"] .tb-detail > .tb-info, .tb[data-win="guide"] .tb-detail > .tb-guide { display: block; }

.tb[data-win="bait"] .tb-detail > [data-win="bait"], .tb[data-win="color"] .tb-detail > [data-win="color"],
.tb[data-win="head"] .tb-detail > [data-win="head"], .tb[data-win="sinker"] .tb-detail > [data-win="sinker"],
.tb[data-win="crank"] .tb-detail > [data-win="crank"], .tb[data-win="hook"] .tb-detail > [data-win="hook"],
.tb[data-win="ereel"] .tb-detail > [data-win="ereel"],
.tb[data-win="brake"] .tb-detail > [data-win="brake"],
.tb[data-win="lureg"] .tb-detail > [data-win="lureg"],
.tb[data-win="floatgo"] .tb-detail > [data-win="floatgo"],
.tb[data-win="light"] .tb-detail > [data-win="light"], .tb[data-win="seafloat"] .tb-detail > [data-win="seafloat"],
.tb[data-win="depth"] .tb-detail > [data-win="depth"], .tb[data-win="chum"] .tb-detail > [data-win="chum"],
.tb[data-win="float"] .tb-detail > [data-win="float"], .tb[data-win="pole"] .tb-detail > [data-win="pole"],
.tb[data-win="leader"] .tb-detail > [data-win="leader"] { display: flex; flex-direction: column; justify-content: center; height: 100%; }

.tb[data-win="fwdepth"] .tb-detail > [data-win="fwdepth"] { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.tb-detail [data-win="fwdepth"] .tb-mini { grid-template-columns: repeat(auto-fit, minmax(80px, 92px)); gap: 9px 8px; padding-top: 4px; }
.tb-detail [data-win="fwdepth"] .tb-b { min-height: 78px; padding: 7px 5px 6px; gap: 3px; }

.tb-detail [data-win="sinker"] .tb-b, .tb-detail [data-win="head"] .tb-b { word-break: keep-all; }
.tb-detail [data-win="fwdepth"] .tb-ico { height: 40px; }
.tb-detail [data-win="fwdepth"] .tb-ico .tb-svg { width: 40px; height: 40px; }


.tb-detail [data-win="bait"].tb-dough-on .tb-mini { gap: 6px 8px; padding: 2px 0; grid-template-columns: repeat(auto-fit, minmax(84px, 112px)); }
.tb-detail [data-win="bait"].tb-dough-on .tb-b { min-height: 66px; padding: 5px 5px 4px; gap: 2px; font-size: 12px; }
.tb-detail [data-win="bait"].tb-dough-on .tb-bait .tb-dot { width: 30px; height: 30px; }
.tb-detail [data-win="bait"].tb-dough-on .tb-ico { height: 32px; }
.tb-detail [data-win="bait"].tb-dough-on .tb-ico .tb-svg { width: 34px; height: 32px; }

.tb[data-win="rods"] .tb-detail > [data-win="rods"] { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.tb-detail [data-win="rods"] .tb-ico { height: 46px; }
.tb-detail [data-win="rods"] .tb-ico .tb-svg { width: 46px; height: 46px; }
.tb-rodtabs { display: flex; justify-content: center; gap: 8px; margin: 2px 0 4px; }
.tb-rodtab {
  font: inherit; font-size: 12.5px; font-weight: 700; color: #cfe3ee; cursor: pointer; padding: 4px 12px; border-radius: 99px;
  background: #1b2a31; border: 1px solid #36525f;
}
.tb-rodtab i { font-style: normal; font-weight: 400; color: #8fb1c8; margin-left: 2px; }
.tb-rodtab.on { border-color: #ffd166; color: #fff; background: #33402a; }
.tb-detail [data-win="bait"].tb-rods-on .tb-mini { gap: 8px 8px; padding: 2px 0; }
.tb-detail [data-win="bait"].tb-rods-on .tb-b { min-height: 78px; padding: 6px 5px 5px; gap: 3px; }
.tb-detail [data-win="bait"].tb-rods-on .tb-bait .tb-dot { width: 34px; height: 34px; }


.tb-lmats { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 2px 0 6px; }
.tb-lmat {
  font: inherit; font-size: 13px; font-weight: 700; color: #cfe3ee; cursor: pointer; padding: 4px 14px 4px 8px; border-radius: 99px;
  background: #1b2a31; border: 1px solid #36525f; display: inline-flex; align-items: center; gap: 4px;
}
.tb-lmat .tb-svg { width: 24px; height: 24px; }
.tb-lmat.on { border-color: #ffd166; color: #fff; background: #33402a; }
.tb-detail [data-win="leader"].tb-lgo-on .tb-mini { grid-template-columns: repeat(auto-fit, minmax(62px, 84px)); gap: 8px 7px; padding: 6px 0 2px; }
.tb-detail [data-win="leader"].tb-lgo-on .tb-b { min-height: 62px; padding: 6px 4px 5px; gap: 2px; flex-direction: column; }
.tb-detail .tb-b.tb-lgo b { font-size: 15px; }
.tb-detail .tb-b.tb-lgo small { font-size: 11px; font-weight: 600; color: #9fc2cf; }
.tb-detail .tb-b.tb-lgo.on small { color: #ffe9a8; }

.tb-detail .tb-slot > .tb-desc.tb-lrec { position: static; height: auto; display: block; margin: 4px auto 0; text-align: center; font-size: 12px; font-weight: 700; color: #ffd98a; }
.tb-detail .tb-slot > .tb-desc.tb-lrec.low { color: #ffb36b; }
.tb-lrec { color: #ffd98a; font-weight: 700; }

.tb-rodsrow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 6px; font-size: 12px; color: #9fb4c6; }
.tb-rodsrow > span { font-weight: 700; color: #cfe3ee; }
.tb-rodsrow button {
  font: inherit; font-size: 12px; font-weight: 700; color: #d6e8f2; cursor: pointer; padding: 3px 11px; border-radius: 99px;
  background: #1b2a31; border: 1px solid #36525f;
}
.tb-rodsrow button.on { border-color: #ffd166; color: #fff; background: #33402a; }
.tb-rodsrow > i { font-style: normal; font-size: 11px; color: #8fa3b5; }
.tb-dough { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 4px; }
.tb-dough > b { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: #9fc2cf; }


.tb-detail .tb-dough .tb-mini, .tb-detail [data-win="bait"].tb-dough-on .tb-dough .tb-mini { flex: 0 1 auto; grid-template-columns: repeat(3, minmax(84px, 104px)); padding: 0; }
.tb[data-win="info"] .tb-detail, .tb[data-win="guide"] .tb-detail { overflow-y: auto; overscroll-behavior: contain; }

.tb-detail .tb-slot > label, .tb-detail .tb-info > .tb-title {
  position: absolute; top: 0; left: 54px; right: 14px; height: 42px; display: flex; align-items: center; gap: 8px; margin: 0;
  font-size: 15px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tb-detail .tb-info > .tb-title span { font-size: 12px; font-weight: 400; color: #8fb1bd; }

.tb-detail .tb-slot > .tb-desc {
  position: absolute; left: 12px; right: 118px; bottom: 0; height: 48px; margin: 0;
  display: flex; align-items: center; font-size: 12px; line-height: 1.35; color: #cfe3ee; overflow: hidden;
}





.tb-detail .tb-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 140px)); justify-content: center; gap: 12px 10px; padding: 8px 0 2px; }

.tb-detail [data-win="crank"] .tb-mini { grid-template-columns: repeat(3, minmax(104px, 140px)); }
.tb-detail [data-win="float"] .tb-mini, .tb-detail [data-win="head"] .tb-mini, .tb-detail [data-win="sinker"] .tb-mini {
  grid-template-columns: repeat(auto-fit, minmax(92px, 112px)); gap: 9px 8px; padding-top: 4px;
}

.tb-detail .tb-b {
  position: relative; display: flex; flex-direction: column-reverse; align-items: center; justify-content: center; gap: 5px;
  min-width: 0; min-height: 106px; padding: 10px 6px 8px; border-radius: 14px; cursor: pointer;
  font-size: 13px; font-weight: 700; color: #d6e8f2; text-align: center; line-height: 1.25;
  background: linear-gradient(180deg, #223540, #16242b); border: 1px solid #36525f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 3px 8px rgba(0, 0, 0, .35);
  transition: transform .1s, box-shadow .12s, border-color .12s;
}
.tb-detail .tb-b:hover { border-color: #5aa6bf; }
.tb-detail .tb-b:active { transform: scale(.96); }
.tb-detail .tb-b.on {
  border-color: #ffd166; color: #fff; background: linear-gradient(180deg, #3b4a2e, #22301d);
  box-shadow: 0 0 0 1px rgba(255, 209, 102, .55), 0 0 18px rgba(255, 209, 102, .28);
}
.tb-detail .tb-b.on::before {
  content: '✓ 장착'; position: absolute; top: -8px; right: -4px; padding: 1px 6px; border-radius: 99px;
  font-size: 10px; font-weight: 800; color: #3a2a00; background: #ffd166; box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
}
.tb-ico { display: flex; align-items: center; justify-content: center; height: 52px; font-style: normal; }
.tb-ico .tb-svg { width: 60px; height: 52px; }
.tb-detail .tb-bait, .tb-detail .tb-fl { flex-direction: column; }
.tb-detail .tb-bait .tb-dot { width: 46px; height: 46px; }

.tb-detail [data-win="float"] .tb-b, .tb-detail [data-win="head"] .tb-b, .tb-detail [data-win="sinker"] .tb-b { min-height: 82px; padding: 7px 5px 6px; gap: 3px; }
.tb-detail [data-win="head"] .tb-ico, .tb-detail [data-win="sinker"] .tb-ico { height: 40px; }
.tb-detail [data-win="head"] .tb-ico .tb-svg, .tb-detail [data-win="sinker"] .tb-ico .tb-svg { width: 46px; height: 40px; }
.tb-detail .tb-fl svg { width: 84px; height: 28px; }
.tb-detail .tb-fl span { font-size: 12px; }


.tb-detail .tb-frow { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.tb-detail .tb-frow:first-of-type { margin-top: 2px; }
.tb-detail [data-win="float"] .tb-mini { flex: 1 1 auto; min-width: 0; grid-template-columns: repeat(var(--n, 6), minmax(0, 104px)); gap: 6px; padding: 0; }
.tb-detail .tb-fsub { flex: 0 0 30px; font-size: 11px; font-weight: 700; line-height: 14px; color: #8fb1bd; }

.tb-detail [data-win="float"] .tb-b.tb-fl { min-height: 0; height: 48px; padding: 3px 3px 2px; gap: 1px; border-radius: 10px; }
.tb-detail [data-win="float"] .tb-b.tb-ftp { height: 32px; }
.tb-detail [data-win="float"] .tb-b.on::before { top: -6px; right: -3px; padding: 0 4px; font-size: 9px; }
.tb-detail [data-win="float"] .tb-fl svg { width: 72px; height: 22px; }

.tb-detail [data-win="depth"] .tb-mini { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; padding-top: 22px; }
.tb-detail [data-win="depth"] .tb-b { min-height: 56px; min-width: 64px; font-size: 16px; }
.tb-detail [data-win="depth"] .tb-b[data-dd="keep"] { min-width: 140px; min-height: 74px; font-size: 28px; letter-spacing: -.5px; }
.tb-detail [data-win="depth"] .tb-b[data-dd="keep"].on::before { content: '지금'; }

.tb-learn { margin: 0 0 4px; font-size: 12.5px; color: #ffd98a; }
.tb-targets { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; }
.tb-tg { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px 2px 3px; border-radius: 99px; background: #1b2a31; border: 1px solid #31474f; font-size: 12px; }
.tb-tg .tb-fish { width: 24px; height: 24px; }
.tb-desc { margin: 4px 0 8px; font-size: 12px; color: #b9cddd; line-height: 1.6; }
.tb-parts {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 14px;
  padding: 8px 11px; border-radius: 11px; background: rgba(10, 16, 22, .55); border: 1px solid #2b3f49;
}
.tb-part { display: flex; gap: 8px; font-size: 12px; line-height: 1.55; }
.tb-part dt { flex: 0 0 42px; color: #7f97ab; }
.tb-part dd { margin: 0; flex: 1; color: #d6e5f2; }
.tb-fish { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #0e161e; border: 1px solid #3a4a58; vertical-align: middle; }
.tb-empty { color: #8fb1bd; font-size: 13px; padding: 14px 4px; grid-column: 1 / -1; }

.tb[data-win="rig"] .tb-tabs { display: flex; gap: 6px; padding: 8px 12px 0; flex-wrap: wrap; flex: 0 0 auto; }
.tb-tabs button { padding: 4px 12px; border-radius: 99px; cursor: pointer; font-size: 12.5px; background: #1d2c33; border: 1px solid #2f4651; color: #a9c7d3; }
.tb-tabs button i { font-style: normal; opacity: .55; margin-left: 3px; font-size: 11px; }
.tb-tabs button.on { background: linear-gradient(180deg, #3f88d8, #2a6cb4); border-color: #62a6ef; color: #fff; box-shadow: 0 2px 10px rgba(62, 136, 216, .45); }
.tb[data-win="rig"] .tb-rail {
  display: grid; flex: 1 1 auto; min-height: 0; padding: 10px 12px; gap: 8px; align-content: start;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); grid-auto-rows: 52px;
  overflow-y: auto; overscroll-behavior: contain;
}
.tb-chip {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 1fr 1fr; column-gap: 8px; align-items: center;
  min-width: 0; padding: 5px 10px 5px 6px; border-radius: 12px; cursor: pointer; text-align: left; color: #dcebf7;
  background: linear-gradient(180deg, #223540, #16242b); border: 1px solid #36525f;
  transition: transform .1s, border-color .12s, box-shadow .12s;
}
.tb-chip .tb-ic { grid-row: 1 / 3; display: flex; }
.tb-chip .tb-fish { width: 38px; height: 38px; }
.tb-chip b { font-size: 13.5px; letter-spacing: -.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; align-self: end; }
.tb-chip i { font-style: normal; font-size: 11px; color: #8fb1bd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; align-self: start; }
.tb-chip:active { transform: scale(.97); }
.tb-chip.on { border-color: #ffd166; box-shadow: 0 0 0 1px rgba(255, 209, 102, .5), 0 0 16px rgba(255, 209, 102, .25); }
.tb-chip.on::after { content: '✓'; position: absolute; top: 4px; right: 7px; font-size: 12px; font-weight: 800; color: #ffd166; }
.tb-chip em {
  position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; line-height: 20px; text-align: center;
  border-radius: 50%; background: #3a2a2a; border: 1px solid #5a3b3b; color: #ff9a9a; font-style: normal; font-size: 11px;
}



.tb-left { display: flex; flex-direction: column; gap: 6px; min-width: 0; min-height: 0; }
.tb-left > .tb-rc { flex: 1 1 auto; overflow: hidden; }
.tb-left .tb-rc-learn { -webkit-line-clamp: 1; }

@media (max-height: 420px) { .tb-left .tb-rc-learn { display: none; } }
.tb-mine { flex: 0 0 auto; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tb-mine-h { display: flex; align-items: center; justify-content: space-between; height: 14px; font-size: 11px; color: #86aebd; }
.tb-mine-r { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.tb-mp-all { position: relative; padding: 0 2px; border: 0; background: none; color: #7fd1ff; font-size: 11px; line-height: 14px; cursor: pointer; }
.tb-mp-all::after { content: ' ▸'; }
.tb-mp-all::before { content: ''; position: absolute; inset: -9px -6px; }
.tb-mp {
  min-width: 0; height: 32px; padding: 2px 6px; border-radius: 9px; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; justify-content: center; line-height: 1.2; color: #dcebf7;
  background: linear-gradient(180deg, #223540, #16242b); border: 1px solid #36525f;
}
.tb-mp b { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-mp i { font-style: normal; font-size: 10px; color: #8fb1bd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-mp:active { transform: scale(.97); }
.tb-mp.off, .tb-chip.off { opacity: .42; cursor: default; }
.tb-mp.off:active, .tb-chip.off:active { transform: none; }

.tb-detail .tb-b.tb-same {
  grid-column: span 2; flex-direction: column; gap: 3px; font-size: 15px; font-weight: 800; color: #06240f;
  background: linear-gradient(180deg, #4fbe7c, #2f9358); border-color: #6fd99a; box-shadow: 0 3px 12px rgba(47, 147, 88, .35);
}
.tb-detail .tb-b.tb-same small { font-size: 12px; font-weight: 700; opacity: .8; }
.tb-toast {
  position: absolute; left: 50%; bottom: 58px; z-index: 5; transform: translate(-50%, 6px); max-width: 90%;
  padding: 6px 14px; border-radius: 99px; background: rgba(60, 20, 16, .92); border: 1px solid rgba(255, 140, 120, .5);
  color: #ffe2d8; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.tb-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .tb[data-win]:not([data-win=""]) .tb-win, .tb-rc.fresh, .tb-eq.fresh { animation: none; } }

@media (max-height: 420px) {
  .tb { padding: 4px; }
  .tb-sheet { border-radius: 13px; }
  .tb-head { padding: 5px 10px; }
  .tb-head b { font-size: 14.5px; }
  .tb-x { width: 26px; height: 26px; font-size: 12px; }
  .tb-main { padding: 7px 10px; gap: 8px; }
  .tb-rc { padding: 8px 9px; }
  .tb-rc-name { font-size: 17px; }
  .tb-rc-fish .tb-fish { width: 34px; height: 34px; }
  .tb-rc-b { padding: 5px 9px; font-size: 12px; }
  .tb-eqs { padding: 6px; gap: 6px; }
  .tb-eq { padding: 5px 8px 6px; }
  .tb-eq-ic { width: 40px; height: 40px; }
  .tb-eq-ic .tb-svg { width: 34px; height: 34px; }
  .tb-eq-v { font-size: 14px; }
  .tb-foot { padding: 5px 10px; gap: 7px; }
  .tb-foot button { padding: 7px; font-size: 13.5px; border-radius: 9px; }
  .tb-win-top { height: 38px; }
  .tb-detail .tb-slot > label, .tb-detail .tb-info > .tb-title { height: 38px; font-size: 14px; }
  .tb-detail { padding: 8px 10px; }
  .tb-detail .tb-mini { gap: 10px 8px; padding-top: 6px; }
  .tb-detail .tb-b { min-height: 96px; padding: 8px 5px 7px; font-size: 12.5px; }
  .tb-ico { height: 46px; }
  .tb-ico .tb-svg { width: 54px; height: 46px; }
  .tb-detail [data-win="float"] .tb-b, .tb-detail [data-win="head"] .tb-b, .tb-detail [data-win="sinker"] .tb-b { min-height: 76px; }
  .tb-win-foot { min-height: 44px; padding: 5px 10px; }
  .tb-detail .tb-slot > .tb-desc { height: 44px; font-size: 11.5px; }
  .tb-done { padding: 7px 20px; font-size: 13.5px; }
  .tb[data-win="rig"] .tb-rail { grid-auto-rows: 46px; padding: 8px 10px; }
  .tb-chip .tb-fish { width: 32px; height: 32px; }
}

@media (min-height: 500px) {
  .tb-eq-ic { width: 58px; height: 58px; }
  .tb-eq-ic .tb-svg { width: 50px; height: 50px; }
  .tb-eq-ic .tb-dot { width: 40px; height: 40px; }
  .tb-eq-v { font-size: 17px; }
  .tb-eq-lb, .tb-eq-sub { font-size: 11.5px; }
  .tb-rc-name { font-size: 21px; }
  .tb-rc-fish .tb-fish { width: 46px; height: 46px; }
}

@media (max-width: 560px) {
  .tb-main { grid-template-columns: 1fr; grid-auto-rows: auto; overflow-y: auto; }
  .tb-eqs { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 86px; }
  .tb-detail .tb-slot > .tb-desc { right: 110px; }
}


.tb-card {
  width: 100%; display: flex; align-items: center; gap: 10px; text-align: left;
  padding: 11px 12px; border-radius: 12px; cursor: pointer;
  background: linear-gradient(180deg, #232f3a, #18212a);
  border: 1px solid #35434f; color: #e8eef4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.tb-card:active { filter: brightness(1.1); }
.tb-card-l { flex: 1; min-width: 0; }
.tb-card-l b { display: block; font-size: 15px; letter-spacing: -.3px; }
.tb-kind {
  display: inline-block; font-size: 10px; padding: 1px 7px; border-radius: 99px;
  background: #24384c; color: #9fd9ff; margin-bottom: 3px;
}
.tb-sub { font-size: 11.5px; color: #8fa3b5; margin-top: 2px; }
.tb-card-r { display: flex; gap: -6px; }
.tb-card-r .tb-fish { width: 28px; height: 28px; margin-left: -8px; }
.tb-card-go { font-size: 12px; color: #7fd1ff; white-space: nowrap; }




.set {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(4, 8, 13, .76); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center; padding: 14px;
  font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", sans-serif;
}
.set-sheet {
  width: min(460px, 100%); max-height: 100%;
  background: linear-gradient(180deg, #1b242e, #141b23);
  border: 1px solid #33424f; border-radius: 16px; color: #e8eef4;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .06);
  display: flex; flex-direction: column; overflow: hidden;
}
.set-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 14px; border-bottom: 1px solid #2b3742;
  background: linear-gradient(180deg, rgba(78, 163, 255, .14), transparent);
}
.set-head b { font-size: 16px; }
.set-x { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #3a4a58;
  background: #222d38; color: #cfe0ef; cursor: pointer; }
.set-body { padding: 6px 14px 12px; overflow-y: auto; }
.set-row { padding: 11px 0; border-bottom: 1px solid #232e38; }
.set-row:last-child { border-bottom: 0; }
.set-row label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.set-row small { display: block; margin-top: 6px; font-size: 11.5px; color: #7f97ab; line-height: 1.6; }
.set-seg { display: flex; gap: 6px; }
.set-seg button {
  flex: 1; padding: 10px 6px; border-radius: 9px; cursor: pointer; font-size: 13px;
  background: linear-gradient(180deg, #232f3a, #18212a); border: 1px solid #33424f; color: #c8d9e8;
}
.set-seg button.on {
  background: linear-gradient(180deg, #3f88d8, #2a6cb4); border-color: #7fd1ff; color: #fff;
  box-shadow: 0 0 14px rgba(78, 163, 255, .35);
}
.set-tog { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; }
.set-tog label { margin: 0; }
.set-tog small { grid-column: 1 / -1; margin-top: 2px; }
.set-sw {
  min-width: 76px; padding: 8px 12px; border-radius: 99px; cursor: pointer; font-size: 12.5px;
  background: #1d2833; border: 1px solid #33424f; color: #8fa3b5;
}
.set-sw.on { background: linear-gradient(180deg, #4fbe7c, #2f9358); border-color: #6fd99a; color: #06240f; font-weight: 700; }

.set-vol label b { color: #ffd98a; margin-left: 6px; font-weight: 800; }
.set-vol input[type=range] { width: 100%; height: 28px; accent-color: #4fa3ea; cursor: pointer; }
.set-foot { display: flex; gap: 9px; padding: 11px 14px; border-top: 1px solid #2b3742; background: #151d25; }
.set-foot button {
  flex: 1; padding: 12px; border-radius: 10px; cursor: pointer; font-size: 14px;
  background: #1d2833; border: 1px solid #33424f; color: #cfe0ef;
}
.set-foot .set-ok { background: linear-gradient(180deg, #3f88d8, #2a6cb4); border-color: #62a6ef; color: #fff; font-weight: 700; }


#opengset { font-size: 15px; }





#land .glow {
  position: absolute; inset: -40% -20%; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 50% 42%, rgba(255, 214, 106, .28), rgba(255, 214, 106, 0) 62%);
  animation: land-glow .7s ease-out;
}
@keyframes land-glow { from { transform: scale(.6); opacity: 0 } to { transform: scale(1); opacity: 1 } }
#land { overflow: visible; }


#haul, #haulFin {
  position: absolute; left: 50%; top: 18%; transform: translateX(-50%); z-index: 34; pointer-events: none;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 10px; max-width: 88%;
  padding: 6px 16px 7px; border-radius: 12px; background: rgba(4, 12, 20, .62); border: 1px solid rgba(160, 210, 255, .28);
  color: #e8f4ff; font-weight: 700; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); white-space: nowrap;
}
#haul b, #haulFin b { font-size: 14px; }
#haul i, #haulFin i { font-style: normal; font-size: 22px; color: #9fd9ff; min-width: 3.2ch; text-align: right; font-variant-numeric: tabular-nums; }
#haul small, #haulFin small { font-size: 11px; color: #ffd76a; }
#haul em { flex-basis: 100%; text-align: center; font-style: normal; font-size: 12px; color: #ffe2a8; }
#land img { animation: land-pop .42s cubic-bezier(.2, 1.5, .4, 1); }
@keyframes land-pop {
  0% { transform: scale(.5) rotate(-6deg); opacity: 0 }
  70% { transform: scale(1.08) rotate(1deg); opacity: 1 }
  100% { transform: scale(1) rotate(0) }
}

#land.on.big4 .hero b { display: inline-block; animation: land-big4 .7s .45s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes land-big4 {
  0% { transform: scale(1); text-shadow: none }
  45% { transform: scale(1.32); text-shadow: 0 0 18px rgba(255, 215, 106, .95) }
  100% { transform: scale(1); text-shadow: 0 0 8px rgba(255, 215, 106, .45) }
}
#land .name {
  font-size: 22px; font-weight: 800; letter-spacing: -.5px; font-style: italic;
  margin-top: 4px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .55), 0 0 16px rgba(0, 0, 0, .6);
}
#land .hero { display: flex; align-items: baseline; justify-content: center; gap: 3px; margin-top: -2px; }
#land .hero b {
  font-size: 54px; font-weight: 800; font-style: italic; line-height: 1;
  background: linear-gradient(180deg, #ffe9a0, #ffb43c 62%, #e08a12);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1.5px rgba(40, 22, 0, .55);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .6));
}
#land .hero i { font-style: normal; font-size: 19px; font-weight: 700; color: #ffd76a; }
#land .hero em {
  font-style: normal; font-size: 10px; font-weight: 700; color: #06240f;
  background: linear-gradient(180deg, #7ce6a4, #3ddc84);
  border-radius: 99px; padding: 2px 8px; margin-left: 8px; align-self: center;
}
#land .chips { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin-top: 8px; }
#land .chips span {
  font-size: 11px; color: #cfe0ef; background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 99px; padding: 2px 9px;
}



body.game-shell #land {
  padding: 14px 20px 16px;
  border: 1px solid rgba(255, 206, 120, .38);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(38, 30, 14, .92), rgba(9, 13, 18, .93));
  box-shadow: 0 18px 50px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 214, 106, .25);
}
body.game-shell #land .t {
  display: inline-block; font-size: 13px; letter-spacing: .5px;
  background: linear-gradient(180deg, #7ce6a4, #2f9358);
  color: #052312; border-radius: 99px; padding: 3px 14px; margin-bottom: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .4);
}
body.game-shell #land .t.rel {
  background: linear-gradient(180deg, #ffd98a, #e0a23c); color: #2a1a00;
}




#go {
  background: linear-gradient(180deg, #5fd08c, #2f9358) !important;
  color: #04220f !important;
  box-shadow: 0 -2px 18px rgba(47, 147, 88, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
  border-top: 1px solid rgba(140, 240, 180, .5) !important;
  font-size: 18px !important;
}
#go:disabled {
  background: linear-gradient(180deg, #232e39, #19222b) !important;
  color: #5a6b7a !important; box-shadow: none; border-top-color: #2b3742 !important;
}
#watertabs .wt.on {
  background: linear-gradient(180deg, #1d3448, #16222e);
  box-shadow: inset 0 2px 0 rgba(127, 209, 255, .45);
}
#sidobar .sd.on {
  background: linear-gradient(180deg, #5aa8f5, #2a6cb4);
  box-shadow: 0 2px 10px rgba(62, 136, 216, .45);
}
#spots .spot {
  transition: transform .1s, box-shadow .12s, border-color .12s;
}
#spots .spot.on {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(127, 209, 255, .45), 0 6px 18px rgba(0, 0, 0, .45);
}

#detail .facts dd { font-weight: 600; }
#detail .facts dt { letter-spacing: -.2px; }
#prep header button {
  background: linear-gradient(180deg, #26323d, #1a232c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}





.enter {
  position: absolute; inset: 0; z-index: 40; pointer-events: none;
  background: radial-gradient(circle at 50% 46%, rgba(10, 20, 30, .82), rgba(4, 8, 12, .96));
  display: flex; align-items: center; justify-content: center;
  opacity: 1; transition: opacity .55s ease;
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", sans-serif;
}
.enter.out { opacity: 0; }
.enter .in { text-align: center; animation: enter-up .5s cubic-bezier(.2, 1, .3, 1); }
.enter b {
  display: block; font-size: 30px; font-weight: 800; letter-spacing: -.8px; color: #eaf4ff;
  text-shadow: 0 3px 20px rgba(0, 0, 0, .8);
}
.enter span { display: block; margin-top: 5px; font-size: 13px; color: #9fd9ff; }
.enter .bar {
  width: 190px; height: 3px; margin: 16px auto 0; border-radius: 99px;
  background: rgba(255, 255, 255, .12); overflow: hidden;
}
.enter .bar i {
  display: block; width: 40%; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, transparent, #7fd1ff, transparent);
  animation: enter-bar 1.1s linear infinite;
}
@keyframes enter-bar { from { transform: translateX(-120%) } to { transform: translateX(320%) } }

.enter .cond { display: block; margin-top: 7px; font-style: normal; font-size: 12.5px; color: #cfe0ee; min-height: 0; }
.enter .cond:empty { display: none; }

.enter.resume b { font-size: 24px; }
@keyframes enter-up { from { transform: translateY(14px); opacity: 0 } to { transform: none; opacity: 1 } }




#sum .card {
  background: linear-gradient(180deg, #1f2a35, #141b23) !important;
  border-color: #33424f !important; border-radius: 16px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
}
#sum .hero { position: relative; }
#sum .hero img { animation: land-pop .45s cubic-bezier(.2, 1.5, .4, 1); }
#sum .hero .cap { font-size: 15px; font-weight: 700; }
#sum .hero .cm {
  font-size: 26px; font-style: italic; font-weight: 800;
  background: linear-gradient(180deg, #ffe9a0, #ffb43c 65%, #e08a12);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1px rgba(40, 22, 0, .5);
}
#sum .best {
  background: linear-gradient(180deg, #7ce6a4, #3ddc84) !important; color: #052312 !important;
}
#sum .grid { border-radius: 12px !important; background: rgba(8, 14, 22, .5); }
#sum .card > button, #sum .again, #sum .close {
  border-radius: 11px !important;
}






.enter b,
#land .name,
#land .hero b,
#land .hero i,
#sum .hero .cm,
.hud-title.big {
  font-family: 'Black Han Sans', -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  font-style: normal;
  letter-spacing: 0;
}
#land .hero b { font-size: 58px; }




.hp {
  position: absolute; inset: 0; z-index: 35;
  background: rgba(5, 9, 14, .78); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  pointer-events: auto;
  font: 13px/1.6 -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", sans-serif;
}
.hp .card {
  width: min(430px, 100%); max-height: 100%; overflow-y: auto;
  background: linear-gradient(180deg, #1f2a35, #141b23);
  border: 1px solid #33424f; border-radius: 16px; padding: 16px 18px;
  color: #e8eef4; box-shadow: 0 20px 50px rgba(0, 0, 0, .6);
}
.hp h3 { margin: 0 0 10px; font-size: 16px; }
.hp-row { display: grid; grid-template-columns: 62px 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px solid #232e38; }
.hp-row:last-of-type { border-bottom: 0; }
.hp-row b { color: #9fd9ff; font-size: 13px; }
.hp-row span { color: #c8d9e8; font-size: 12.5px; }
.hp-row span b { color: #ffd98a; }
.hp .primary {
  width: 100%; margin-top: 12px; padding: 12px; border-radius: 11px; cursor: pointer;
  background: linear-gradient(180deg, #3f88d8, #2a6cb4); border: 1px solid #62a6ef;
  color: #fff; font-weight: 700; font-size: 14px;
}






.hud-center { justify-content: flex-start; padding-top: min(11vw, 14vh); }



#rec .card, #dex .card, #login .card, #sum .card, #task .card {
  background: linear-gradient(180deg, #1f2a35, #141b23) !important;
  border: 1px solid #33424f !important; border-radius: 16px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
}
#rec h2, #dex h2, #login h2, #sum h2, #task h2 {
  font-family: 'Black Han Sans', -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;

  letter-spacing: 0; font-size: 21px;
}
#login button.pri, #rec .card button.pri, #dex .card button.pri, #task .card button.pri {
  background: linear-gradient(180deg, #3f88d8, #2a6cb4) !important;
  border-color: #62a6ef !important; color: #fff !important;
  box-shadow: 0 3px 12px rgba(62, 136, 216, .4);
}

#dex .dexrow { transition: background .12s; }
#dex .dexrow:active { background: rgba(127, 209, 255, .10); }





.hud-hero {
  font-family: 'Black Han Sans', -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  font-size: 44px; line-height: 1; letter-spacing: -1px; color: #fff;
  margin-top: 2px;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .55), 0 0 18px rgba(0, 0, 0, .7);
  -webkit-text-stroke: 1.5px rgba(6, 14, 22, .55);


  paint-order: stroke fill;
  font-weight: 800; font-synthesis: none;
}
.hud-hero i { font-style: normal; font-size: 19px; margin-left: 2px; color: #cfe2f2; }


.hud-hero i {
  font-family: -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", sans-serif; font-weight: 700 !important; letter-spacing: 0;
  -webkit-text-stroke: 0; text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 0 6px rgba(0, 0, 0, .6);
}
@media (max-height: 460px) { .hud-hero { font-size: 32px; } .hud-hero i { font-size: 15px; } }


body.game-shell #msg {
  font-family: 'Black Han Sans', -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  font-size: 44px; letter-spacing: -1px;
  -webkit-text-stroke: 2px rgba(4, 10, 16, .6);
  text-shadow: 0 4px 0 rgba(0, 0, 0, .45), 0 0 26px rgba(0, 0, 0, .75);
}
body.game-shell #msg small {
  font-family: -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  -webkit-text-stroke: 0; font-size: 13px; letter-spacing: 0;
}
@media (max-height: 460px) { body.game-shell #msg { font-size: 32px; } }

body.game-shell #msg small.next { color: #a8e6bf; font-weight: 600; font-size: 13px; }

body.game-shell #msg small.scale { color: #ffd98a; font-weight: 600; font-size: 13px; }

body.game-shell #msg small.next, body.game-shell #msg small.scale { max-width: min(520px, calc(100vw - 260px)); margin-left: auto; margin-right: auto; }



.hud-reel {



  position: absolute; right: 12px; bottom: 8px;
  width: 104px; height: 104px;
  transform: none;
}
.hud-reel span { transform: none; font-size: 13px; }

.hud-reel.say span { color: #ffe6a8; font-size: 14px; }

.hud-reel.say span { display: flex; flex-direction: column; align-items: center; line-height: 1.1; letter-spacing: 0; }
.hud-reel.say span small { font-size: 10px; font-weight: 700; color: rgba(255, 230, 168, .78); letter-spacing: 1px; }

.hud-title.pop:not(.alarm) { animation: hud-phase-pop .25s ease-out; transform-origin: 100% 50%; }
.hud-hint.band.low.pop { animation: hud-phase-pop .25s ease-out; }
@keyframes hud-phase-pop { 0% { transform: scale(1.06); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hud-title.pop, .hud-hint.band.low.pop { animation: none; } }






.hud-drag {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hud-drag-btn {
  position: absolute; right: 124px; bottom: 8px;
  width: 48px; height: 44px; padding: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: rgba(10, 18, 28, .62); border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px;
  color: #dcebf7; cursor: pointer; line-height: 1;
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  touch-action: none; -webkit-tap-highlight-color: transparent;
  transition: transform .09s, background .12s;
}
.hud-drag-btn b { font-size: 18px; font-weight: 700; }
.hud-drag-btn i { font-style: normal; font-size: 10px; color: #9fb8cc; }
.hud-drag-btn:active, .hud-drag-btn.press { transform: scale(.93); background: rgba(34, 66, 96, .8); }
.hud-drag-btn.off { opacity: .35; }


.hud-drag-btn.hot { border-color: #ffd98a; color: #fff3d6; animation: hud-drag-hot .7s ease-in-out infinite; }
.hud-drag-btn.hot i { color: #ffd98a; }
@keyframes hud-drag-hot {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 200, 100, 0); background: rgba(10, 18, 28, .62); }
  50% { box-shadow: 0 0 14px rgba(255, 200, 100, .75); background: rgba(90, 64, 20, .72); }
}
@media (prefers-reduced-motion: reduce) { .hud-drag-btn.hot { animation: none; box-shadow: 0 0 10px rgba(255, 200, 100, .6); } }
.hud-drag-btn#hud-drag-up { right: 12px; bottom: 120px; }

.hud-drag-mid { display: none; }
.hud-drag-mid span { font-size: 11px; font-weight: 700; color: rgba(232, 244, 255, .95); text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }

.hud-drag-dots { display: flex; gap: 3px; }
.hud-drag-dots u { display: block; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.hud-drag-dots u.on { background: #7fd1ff; }
.hud-drag[data-lv="2"] .hud-drag-dots u.on { background: #3ddc84; }
.hud-drag[data-lv="3"] .hud-drag-dots u.on { background: #ffc453; }
.hud-drag[data-lv="4"] .hud-drag-dots u.on { background: #ff6b6b; }

.hud-drag-say { display: none; }



.hud-rodbtns { position: absolute; inset: 0; pointer-events: none; }
.hud-rodbtn {
  position: absolute; left: 12px; bottom: 60px; width: 44px; height: 44px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 18, 28, .62); border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px;
  color: #dcebf7; cursor: pointer; line-height: 1;
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  touch-action: none; -webkit-tap-highlight-color: transparent;
  transition: transform .09s, background .12s;
}
.hud-rodbtn b { font-size: 17px; font-weight: 700; }
.hud-rodbtn:active, .hud-rodbtn.press { transform: scale(.93); background: rgba(34, 66, 96, .8); border-color: #7fd1ff; }
#stage.landing .hud-rodbtns { visibility: hidden; }



.tb-bait { display: inline-flex; align-items: center; gap: 7px; padding-left: 8px; }
.tb-dot {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .35), 0 1px 3px rgba(0, 0, 0, .4);
  flex: 0 0 auto;
}
.tb-bait.on .tb-dot { box-shadow: inset 0 -3px 6px rgba(0,0,0,.35), 0 0 10px rgba(255, 255, 255, .5); }




#sum .hero { text-align: center; margin: 4px 0 12px; }
#sum .hero img {
  display: block; margin: 0 auto; max-height: min(30vh, 190px); width: auto;
  animation: land-pop .45s cubic-bezier(.2, 1.5, .4, 1);
}
#sum .hero .nm {
  font-family: 'Black Han Sans', -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  font-size: 20px; letter-spacing: -.4px; margin-top: 2px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .5);
}
#sum .hero .num { display: flex; align-items: baseline; justify-content: center; gap: 3px; }
#sum .hero .num b {
  font-family: 'Black Han Sans', -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  font-size: 46px; line-height: 1;
  background: linear-gradient(180deg, #ffe9a0, #ffb43c 62%, #e08a12);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1.2px rgba(40, 22, 0, .5);
  filter: drop-shadow(0 3px 7px rgba(0, 0, 0, .55));
}
#sum .hero .num i { font-style: normal; font-size: 17px; font-weight: 700; color: #ffd76a; }
#sum .hero .num em {
  font-style: normal; font-size: 10px; font-weight: 700; color: #06240f; align-self: center;
  background: linear-gradient(180deg, #7ce6a4, #3ddc84); border-radius: 99px; padding: 2px 8px; margin-left: 8px;
}
#sum .hero .gr { font-size: 11.5px; color: #8fa3b5; margin-top: 2px; }
#sum .grid div { padding: 11px 4px !important; }
#sum .grid b { font-size: 21px !important; font-weight: 800; }
#sum .grid b.g { color: #3ddc84; } #sum .grid b.w { color: #ffc453; } #sum .grid b.b { color: #ff6b6b; }
#sum .grid span { font-size: 10.5px; color: #8fa3b5; }
#sum .btns button.pri, #sum #sum-more {
  background: linear-gradient(180deg, #4fbe7c, #2f9358) !important;
  border-color: #6fd99a !important; color: #06240f !important; font-weight: 700;
  box-shadow: 0 3px 14px rgba(47, 147, 88, .35);
}





#dex .dexlist {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
  gap: 8px; max-height: none; overflow: visible;
}
#dex .dexlist div.go {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 2px; padding: 9px 7px 8px; border-bottom: 0 !important;
  background: linear-gradient(180deg, #223040, #18212b);
  border: 1px solid #31404e; border-radius: 12px;
  transition: transform .11s, box-shadow .12s, border-color .12s;
}
#dex .dexlist div.go:hover { background: linear-gradient(180deg, #27384a, #1b2530); }
#dex .dexlist div.go:active { transform: scale(.96); }
#dex .dexlist .th { width: 100%; height: 46px; object-fit: contain; flex: 0 0 auto; }
#dex .dexlist .f { flex: 0 0 auto; font-size: 12.5px; font-weight: 700; letter-spacing: -.2px; }
#dex .dexlist .v {
  flex: 0 0 auto; font-size: 13px; font-weight: 800; color: #ffd76a;
  font-family: 'Black Han Sans', -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
}
#dex .dexlist .w {
  flex: 0 0 auto; width: 100%; font-size: 10px; color: #7f97ab; line-height: 1.4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

#dex .dexlist div.go.yet { background: #161d25; border-color: #26313c; }
#dex .dexlist div.go.yet .f { color: #7f97ab; }
#dex .dexbar { border-radius: 99px; overflow: hidden; }
#dex .dexbar i { background: linear-gradient(90deg, #3ddc84, #7fd1ff); }

#dex .dexlist div.go:not(.yet) {
  border-color: rgba(127, 209, 255, .38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 0 1px rgba(127, 209, 255, .12);
}


#dex .card { width: min(760px, 100%) !important; }
#rec .card { width: min(560px, 100%) !important; }

#rec h2, #dex h2, #login h2, #sum h2,
.enter b, #land .name, #sum .hero .nm { letter-spacing: .5px; }


.hud-act { position: relative; }
.hud-act u {
  position: absolute; top: -7px; right: -7px; min-width: 30px;
  font-size: 10px; font-weight: 700; text-decoration: none; line-height: 17px;
  background: rgba(10, 20, 30, .92); border: 1px solid rgba(127, 209, 255, .5);
  color: #9fd9ff; border-radius: 99px; padding: 0 5px;
}
.hud-act u:empty { display: none; }
.hud-act u.over { border-color: #ff8f8f; color: #ffbcbc; background: rgba(50, 14, 14, .92); }





.spothero {
  position: relative;
  margin: 8px 0 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .40);
  line-height: 0;
}
.spothero img {
  display: block; width: 100%; height: 116px;
  object-fit: cover;
}

.spothero::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 46px;
  background: linear-gradient(180deg, rgba(8, 13, 20, 0), rgba(8, 13, 20, .72));
  pointer-events: none;
}
.spothero span {
  position: absolute; left: 10px; bottom: 8px; z-index: 1;
  font-size: 11px; line-height: 1; color: #dbe9f6; letter-spacing: .3px;
  background: rgba(6, 12, 20, .55); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 99px; padding: 4px 10px;
}
@media (max-height: 760px) { .spothero img { height: 92px; } }




#land .glow::before {
  content: ''; position: absolute; left: 50%; top: 42%;
  width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg,
    rgba(255, 220, 130, .16) 0deg 9deg, rgba(255, 220, 130, 0) 9deg 24deg);
  -webkit-mask: radial-gradient(circle, #000 18%, transparent 62%);
          mask: radial-gradient(circle, #000 18%, transparent 62%);
  animation: land-rays 14s linear infinite;
  pointer-events: none;
}
@keyframes land-rays { to { transform: translate(-50%, -50%) rotate(360deg); } }

#land.best .glow::before {
  background: repeating-conic-gradient(from 0deg,
    rgba(255, 214, 106, .34) 0deg 8deg, rgba(255, 214, 106, 0) 8deg 20deg);
  animation-duration: 7s;
}
#land.best .glow {
  background: radial-gradient(circle at 50% 42%, rgba(255, 214, 106, .42), rgba(255, 214, 106, 0) 64%);
}

#land.rel .glow::before { display: none; }
@media (prefers-reduced-motion: reduce) {
  #land .glow::before { animation: none; }
}





#spots .spot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "top top" "m fish";
  column-gap: 12px; align-items: end;
}
#spots .spot > div:first-child { grid-area: top; }
#spots .spot > .m { grid-area: m; align-self: center; }
#spots .spot > .fishrow { grid-area: fish; }
.fishrow { display: flex; gap: 6px; align-items: flex-end; margin-top: 2px; }
.fishrow .fi {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  flex: 0 0 58px; width: 58px; padding: 3px 2px 2px;
  border-radius: 8px; background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .06);
}
.fishrow .fi img {
  width: 50px; height: 22px; object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .55));
}
.fishrow .fi b {
  font-size: 9.5px; font-weight: 600; color: #b9cbd9; line-height: 1.15;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.fishrow .fi.txt { justify-content: center; min-height: 36px; }
.fishrow .fi.txt b { font-size: 10.5px; white-space: normal; text-align: center; }

.fishrow .fmore { font-size: 10px; color: var(--dim); align-self: center; padding-left: 2px; }
#spots .spot.on .fishrow .fi { border-color: rgba(127, 209, 255, .22); background: rgba(127, 209, 255, .06); }



@media (max-width: 820px), (max-height: 480px) {
  .fishrow { gap: 4px; }
  .fishrow .fi { flex-basis: 40px; width: 40px; padding: 2px; }
  .fishrow .fi img { width: 36px; height: 16px; }
  .fishrow .fi:not(.txt) b { display: none; }



  #detail .fishrow .fi:not(.txt) b { display: block; }
  #detail .fishrow .fi { flex-basis: 46px; width: 46px; }
  #detail .fishrow .fi img { width: 42px; height: 18px; }
  .fishrow .fi.txt { min-height: 22px; }
  .fishrow .fi.txt b { font-size: 9px; }
}



#searchrow { display: flex; align-items: center; gap: 8px; margin: 8px 10px; flex: 0 0 auto; min-height: 36px; }
#searchrow #spotsearch { margin: 0; flex: 1 1 auto; min-width: 0; }
#viewtg {
  flex: 0 0 auto; display: flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden;
  background: #0d1319;
}
#viewtg button {
  border: 0; background: transparent; color: var(--dim); font: 12.5px inherit; font-weight: 700;
  padding: 7px 13px; cursor: pointer;
}
#viewtg button.on { background: linear-gradient(180deg, #5aa8f5, #2a6cb4); color: #fff; }
#crumb { flex: 1 1 auto; display: flex; align-items: center; gap: 4px; min-width: 0; font-size: 13.5px; overflow: hidden; white-space: nowrap; }
#crumb button { background: none; border: 0; color: #7fd1ff; font: inherit; font-weight: 700; cursor: pointer; padding: 5px 3px; }
#crumb button:hover { text-decoration: underline; }
#crumb b { color: #fff; padding: 5px 3px; }
#crumb i { color: #56697a; font-style: normal; }


#sidobar[hidden], #crumb[hidden], #mapbox[hidden] { display: none !important; }
#listarea { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
#spotlist.mapmode #listarea { flex-direction: row; gap: 10px; padding: 0 10px 10px; }
#spotlist.mapmode #mapbox {
  flex: 1.2 1 0; min-width: 0; position: relative; border-radius: 14px; overflow: hidden;
  background: radial-gradient(ellipse at 40% 35%, #10304a, #08131c 72%);
  border: 1px solid rgba(127, 209, 255, .14);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, .45);
}
#spotlist.mapmode #spots { flex: 1 1 0; min-width: 0; padding: 0; }
#mapbox svg { display: block; width: 100%; height: 100%; }
#mapbox path.c { fill: #1b2835; stroke: #1b2835; stroke-width: .7; vector-effect: non-scaling-stroke; transition: filter .12s; }
#mapbox .sd.far path.c { fill: #111b24; stroke: #111b24; }
#mapbox .sd.none path.c { fill: #15202a; stroke: #15202a; }
#mapbox .sd.on { cursor: pointer; }
#mapbox .sd.on:hover path.c { filter: brightness(1.28); }
#mapbox .sd:not(.far) path.c.has { cursor: pointer; }
#mapbox .sd:not(.far) path.c.has:hover { filter: brightness(1.32); }
#mapbox .sd.far { cursor: pointer; }
#mapbox .ln { fill: none; vector-effect: non-scaling-stroke; pointer-events: none; }
#mapbox .coast { stroke: rgba(159, 217, 255, .5); stroke-width: 1.1; }
#mapbox .sidoline { stroke: rgba(234, 244, 255, .5); stroke-width: 1.3; }
#mapbox .sggline { stroke: rgba(234, 244, 255, .22); stroke-width: .8; }
#mapbox .selring { fill: rgba(255, 214, 106, .12); stroke: #ffd76a; stroke-width: 2.4; vector-effect: non-scaling-stroke; pointer-events: none;
  filter: drop-shadow(0 0 3px rgba(255, 214, 106, .9)); }
#mapbox .bd { cursor: pointer; }
#mapbox .bd rect { fill: rgba(6, 12, 20, .8); stroke: rgba(255, 255, 255, .22); stroke-width: 1; vector-effect: non-scaling-stroke; }
#mapbox .bd text { font-family: -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif; pointer-events: none; }
#mapbox .bd .nm { fill: #eaf4ff; font-weight: 700; }
#mapbox .bd .nb { fill: #ffd76a; font-weight: 800; }
#mapbox .bd:hover rect { stroke: #7fd1ff; }
#mapbox .bd.sel rect { fill: #ffd76a; stroke: #fff2c4; }
#mapbox .bd.sel .nm, #mapbox .bd.sel .nb { fill: #1b1200; }

#mapbox .inset { fill: none; stroke: rgba(159, 217, 255, .28); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; pointer-events: none; }
#mapbox .mapsrc { position: absolute; right: 8px; bottom: 5px; font-size: 9px; color: rgba(200, 220, 235, .45); pointer-events: auto; cursor: help; }
#mapbox .mapmsg { display: grid; place-items: center; height: 100%; color: var(--dim); font-size: 13px; }


.rghead { font-size: 11.5px; color: var(--dim); margin: 2px 2px 8px; }
.rg {
  width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer;
  background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 11px; margin-bottom: 6px; font: inherit;
}
.rg:hover { border-color: #3a4956; background: #16222e; }
.rg .rn { font-weight: 700; font-size: 14px; }
.rg .rc { font-size: 12px; font-weight: 800; color: #ffd76a; }
.rg .rf { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.rg .rf img { width: 42px; height: 18px; object-fit: contain; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .55)); }
.rg .rf em { font-style: normal; font-size: 10px; color: var(--dim); }




@media (max-height: 480px) {
  #spotlist.mapmode #mapbox { flex: 0.75 1 0; }
  #spotlist.mapmode.hassgg #mapbox { display: none; }
  #viewtg button { padding: 6px 10px; }
  .rg { padding: 6px 9px; gap: 7px; }
  .rg .rn { font-size: 13px; }
  .rg .rf img { width: 34px; height: 15px; }
}

@media (max-width: 600px) {
  #spotlist.mapmode #listarea { flex-direction: column; }
  #spotlist.mapmode:not(.hassgg) #spots { display: none; }
  #spotlist.mapmode.hassgg #mapbox { display: none; }
}




@media (max-height: 480px) {

  #sum .card, #rec .card, #dex .card, #login .card { padding-bottom: 0; }
  #sum .hero img { max-height: 24vh; }
  #sum .btns, #rec .btns, #dex .btns, #login .btns {
    position: sticky; bottom: 0; z-index: 2;
    margin: 12px -20px 0; padding: 10px 20px 12px;


    background: linear-gradient(180deg, rgba(20, 27, 35, 0), #141b23 6px);
  }
  #land img { max-height: 34vh; }
}





.enter b, #land .name, #land .hero b, #land .hero i, #sum .hero .cm, .hud-title.big,
#rec h2, #dex h2, #login h2, #sum h2, .hud-hero, body.game-shell #msg,
#sum .hero .nm, #sum .hero .num b, #dex .dexlist .v {
  font-weight: 400 !important;
  font-synthesis: none;
}



.fishrow .fi { position: relative; }
.fishrow .fi.new::after {
  content: 'N'; position: absolute; top: -5px; right: -4px;
  font-size: 9px; font-weight: 800; line-height: 1; color: #1b1200;
  background: linear-gradient(180deg, #ffe39a, #f0b43c);
  border-radius: 99px; padding: 2px 4px; box-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}
.fishrow .fi.new { border-color: rgba(255, 214, 106, .35); }
.rg .rnew {
  font-size: 10.5px; font-weight: 800; color: #1b1200; white-space: nowrap;
  background: linear-gradient(180deg, #ffe39a, #f0b43c); border-radius: 99px; padding: 2px 7px;
}
.rg .rdone { font-size: 10.5px; font-weight: 700; color: #3ddc84; white-space: nowrap; }


.fishrow.wrap { flex-wrap: wrap; gap: 6px 5px; margin: 1px 0 3px; }
#detail .facts dd.fish s { display: block; margin-top: 3px; font-weight: 400; }



.condhead { font-size: 12px; color: #cfe0ef; margin: 2px 0 6px; }
.condhead b {
  font-size: 10.5px; font-weight: 800; color: #04121f; background: linear-gradient(180deg, #5fd08c, #2f9358);
  border-radius: 99px; padding: 1px 8px; margin-right: 4px;
}
.condhead.prac b { background: linear-gradient(180deg, #ffe39a, #f0b43c); color: #1b1200; }
.condhead span { color: var(--dim); font-size: 11px; margin-left: 4px; }
.cond {
  display: flex; gap: 7px; align-items: flex-start;
  font-size: 11.5px; line-height: 1.45; color: #c7d7e5;
  background: rgba(255, 255, 255, .03); border-left: 3px solid #3a4956;
  border-radius: 0 7px 7px 0; padding: 5px 8px; margin-bottom: 4px;
}
.cond i { font-style: normal; font-size: 12px; line-height: 1.35; flex: 0 0 auto; }
.cond.good { border-left-color: var(--good); color: #d9f5e4; }
.cond.bad { border-left-color: var(--warn); color: #ffe2b0; background: rgba(255, 196, 83, .06); }
.condhint { font-size: 11px; color: var(--dim); margin-top: 3px; }



.trophies { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin: 4px 0 6px; }
.trophies .tro {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px;
  padding: 9px 6px 8px; border-radius: 12px;
  background: linear-gradient(180deg, #2a2616, #171c22);
  border: 1px solid rgba(255, 206, 120, .28);
  box-shadow: inset 0 1px 0 rgba(255, 214, 106, .18);
}
.trophies .tro .th { width: 100%; height: 44px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .55)); }
.trophies .tro .f { font-size: 12.5px; font-weight: 700; color: #eaf4ff; }
.trophies .tro .n { display: flex; align-items: baseline; gap: 2px; min-height: 26px; }
.trophies .tro .n b {
  font-family: 'Black Han Sans', -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  font-weight: 400 !important; font-synthesis: none; font-size: 22px; line-height: 1;
  background: linear-gradient(180deg, #ffe9a0, #ffb43c 62%, #e08a12);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1px rgba(40, 22, 0, .45);
}
.trophies .tro .n i { font-style: normal; font-size: 11px; font-weight: 700; color: #ffd76a; }
.trophies .tro .w { font-size: 10.5px; color: #8fa3b5; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-height: 480px) {
  #rec .grid div { padding: 5px 4px; }
  #rec .grid b { font-size: 16px; }
  .trophies { gap: 6px; }
  .trophies .tro { padding: 5px 4px 5px; }
  .trophies .tro .th { height: 28px; }
  .trophies .tro .n { min-height: 20px; }
  .trophies .tro .n b { font-size: 17px; }
  .trophies .tro .w { display: none; }
}




#task .card { width: min(760px, 100%) !important; }
#task .where { font-size: 12px; color: var(--dim); margin: -4px 0 12px; }
#task .where b { color: var(--text); }
#task .tks { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
#task .tk {
  display: flex; flex-direction: column; gap: 6px; padding: 11px 12px 12px;
  background: linear-gradient(180deg, #223140, #18222c); border: 1px solid #33485a; border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
#task .tk.real { border-color: #5a4a26; background: linear-gradient(180deg, #2c2a1f, #1c1b15); }
#task .tk.done { border-color: #2c6b45; background: linear-gradient(180deg, #1c3327, #15221b); }
#task .tk-h { display: flex; align-items: center; justify-content: space-between; }
#task .tk-h .tag {
  font-size: 10.5px; font-weight: 800; padding: 1px 8px; border-radius: 99px;
  background: rgba(127, 209, 255, .14); color: #9fd9ff;
}
#task .tk.real .tk-h .tag { background: rgba(255, 196, 83, .16); color: #ffd98a; }
#task .tk-h .nn { font-size: 12px; font-weight: 800; color: #cfe0ef; }
#task .tk-h .ok { font-size: 12px; font-weight: 800; color: #3ddc84; }
#task .tk-t { font-size: 14.5px; line-height: 1.35; letter-spacing: -.2px; color: #eaf4ff; min-height: 2.7em; }


#task .tk-t, #task .tk-tip, #task .where { word-break: keep-all; overflow-wrap: anywhere; }
#task .tk-bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
#task .tk-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #3f88d8, #7fd1ff); }
#task .tk.done .tk-bar i { background: linear-gradient(90deg, #2fae6b, #3ddc84); }
#task .tk-tip { font-size: 11.5px; line-height: 1.5; color: #b9cbd9; }
#task .tk-rig { font-size: 10.5px; color: var(--dim); }
#task .tk-go {
  margin-top: auto; padding: 8px 0 !important; font-size: 12.5px !important;
  background: linear-gradient(180deg, #2b4a66, #213a51) !important; border-color: #3e6a8f !important; color: #eaf4ff !important;
}
#task .tk-go:hover { filter: brightness(1.12); }

#task .warn { color: var(--dim); border-color: var(--line); }
#task .btns { grid-template-columns: 1fr; }


#prep header #opentask { color: #ffd98a; border-color: #5a4a26; }
#prep header #opentask.alldone { color: #3ddc84; border-color: #2c6b45; }
#prep header #opentask[hidden] { display: none; }


#fishonly .fchip.task { background: #2c2a1f; border-color: #5a4a26; }
#fishonly .fchip .tki { font-size: 14px; font-style: normal; }





#rec .cup, #task .cup {
  display: flex; flex-direction: column; gap: 4px; margin: 10px 0 2px; padding: 9px 12px 10px;
  background: linear-gradient(180deg, #2c2a1f, #1c1b15); border: 1px solid #5a4a26; border-radius: 12px;
}
#rec .cup-h, #task .cup-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#rec .cup-h .tag, #task .cup-h .tag {
  font-size: 10.5px; font-weight: 800; padding: 1px 8px; border-radius: 99px; background: rgba(255, 196, 83, .16); color: #ffd98a;
}
#rec .cup-h s, #task .cup-h s { text-decoration: none; font-size: 10.5px; color: var(--dim); }
#rec .cup-t, #task .cup-t { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #eaf4ff; word-break: keep-all; }
#rec .cup-t .th, #task .cup-t .th { width: 44px; height: 24px; object-fit: contain; flex: 0 0 auto; }
#rec .cup-m, #task .cup-m { font-size: 11.5px; color: #b9cbd9; }
#rec .cup-m b, #task .cup-m b { color: #ffd76a; }
#rec .cup-go, #task .cup-go {
  align-self: flex-start; padding: 7px 14px !important; font-size: 12.5px !important; min-height: 32px;
  background: linear-gradient(180deg, #4a3f1f, #362e17) !important; border-color: #7a6331 !important; color: #ffe7a3 !important;
}

#rec .sk-sub { font-size: 10.5px; color: #8fa6ba; margin-left: 4px; }
#rec .skb { display: flex; flex-direction: column; gap: 3px; }
#rec .sk { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.6; }
#rec .sk-n { flex: 0 0 92px; color: #eaf4ff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#rec .sk-bar { flex: 1 1 auto; min-width: 40px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
#rec .sk-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #3f88d8, #7fd1ff); }
#rec .sk-v { flex: 0 0 auto; color: #b9cbd9; white-space: nowrap; }
#rec .sk-v b { color: #ffd76a; font-size: 13px; }
#rec .sk-p { flex: 0 0 82px; color: #8fa6ba; font-size: 11px; white-space: nowrap; text-align: right; }
#rec .sk-yet { font-size: 10.5px; color: #8fa6ba; margin-top: 4px; line-height: 1.5; word-break: keep-all; }

.rankcard .hr-fh { display: flex; align-items: center; gap: 7px; margin-top: 6px; padding-top: 5px; border-top: 1px solid var(--line); font-size: 11px; }
.rankcard .hr-fh i { font-style: normal; color: var(--dim); }
.rankcard .hr-sel { font: inherit; font-size: 12px; color: var(--text); background: #18222c; border: 1px solid #33485a; border-radius: 6px; padding: 3px 6px; min-height: 32px; }

#dex .dexlist .sd { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 3px; flex: 0 0 auto; margin: 1px 0; }
#dex .dexlist .sd i {
  font-style: normal; font-size: 9.5px; font-weight: 700; line-height: 1.45; padding: 0 4px; border-radius: 99px; white-space: nowrap;
  color: #6f8496; border: 1px solid #2c3a47;
}
#dex .dexlist .sd i.on { color: #2a1d00; background: linear-gradient(180deg, #ffe08a, #e0aa3a); border-color: #f2c35a; }
#dex .sdnum i { font-style: normal; color: #8fa6ba; font-size: 10.5px; }

#land .chips span.stamp { color: #2a1d00; font-weight: 800; background: linear-gradient(180deg, #ffe08a, #e0aa3a); border-color: #f2c35a; }


.hud-chip.task { color: #ffd98a; border-color: rgba(255, 214, 106, .32); }
.hud-chip.task i { font-style: normal; font-weight: 800; color: #fff; }
.hud-chip.task[hidden] { display: none; }

.hud.alarm .hud-chip.task { visibility: hidden; }
.hud-chip.task.bump { animation: task-bump .5s ease; }
@keyframes task-bump { 0% { transform: scale(1) } 35% { transform: scale(1.18); background: rgba(255, 196, 83, .35) } 100% { transform: scale(1) } }

.tasktoast {
  position: absolute; left: 50%; top: 14px; z-index: 45; pointer-events: none;
  transform: translate(-50%, 0); text-align: center;
  background: linear-gradient(180deg, rgba(44, 42, 31, .94), rgba(28, 27, 21, .94));
  border: 1px solid #b8923a; border-radius: 12px; padding: 7px 18px 9px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .55), 0 0 18px rgba(255, 196, 83, .25);
  animation: task-in .35s cubic-bezier(.2, 1, .3, 1); transition: opacity .5s, transform .5s;
  font: 13px/1.4 -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", sans-serif;
}
.tasktoast.out { opacity: 0; transform: translate(-50%, -12px); }
.tasktoast i { display: block; font-style: normal; font-size: 11px; font-weight: 800; color: #ffd98a; letter-spacing: .3px; }
.tasktoast b { display: block; font-size: 14.5px; color: #fff; }
@keyframes task-in { from { transform: translate(-50%, -18px); opacity: 0 } to { transform: translate(-50%, 0); opacity: 1 } }


#sum .tasksum {
  display: flex; flex-wrap: wrap; align-items: center; gap: 5px 7px; margin-top: 10px;
  font-size: 12px; color: #ffd98a;
}
#sum .tasksum b { color: #fff; margin-right: 3px; }
#sum .tasksum span {
  font-size: 11px; color: #b9cbd9; padding: 1px 8px; border-radius: 99px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08);
}
#sum .tasksum span.ok { color: #3ddc84; border-color: #2c6b45; }


@media (max-height: 480px) {
  #task .tks { gap: 7px; grid-template-columns: repeat(3, 1fr); }
  #task .tk { padding: 8px 9px 9px; gap: 4px; }
  #task .tk-t { font-size: 13px; min-height: 0; }
  #task .tk-tip { font-size: 10.5px; line-height: 1.4; }
  #task .where { margin-bottom: 8px; }

  #task .card { padding: 12px 14px !important; }
  #task h2 { margin-bottom: 4px; font-size: 18px; }
  #task .warn { display: none; }
  #task .tk-go { padding: 6px 0 !important; }
  #task .btns { margin-top: 9px; }
  #task .btns button { padding: 9px 0; }
}




@media (min-width: 700px) and (max-height: 560px) {
  .set-sheet { width: min(820px, 100%); }
  .set-body { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 10px 14px 12px; align-content: start; }
  .set-row { border-bottom: 0; padding: 9px 11px; border-radius: 10px; background: rgba(255, 255, 255, .025); }
  .set-row label { margin-bottom: 5px; font-size: 13px; }
  .set-row small { margin-top: 4px; font-size: 11px; line-height: 1.45; }
  .set-seg button { padding: 8px 6px; }
  .set-head { padding: 9px 14px; }
  .set-foot { padding: 8px 14px 10px; }
  .set-foot button { padding: 9px 0 !important; }
}



@media (max-height: 480px) {
}





#dex .btns button:only-child, #rec .btns button:only-child, #sum .btns button:only-child { grid-column: 1 / -1; }
@media (max-height: 480px) {
  #sum .btns, #rec .btns, #dex .btns, #login .btns {
    background: linear-gradient(180deg, rgba(20, 27, 35, 0), #141b23 14px);
  }
}





.rg .rn, .rg .rc, .rg .rnew, .rg .rdone { white-space: nowrap; flex: 0 0 auto; }
.rg .rf { flex: 1 1 auto; min-width: 0; overflow: hidden; justify-content: flex-end; }
#watertabs .wt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-height: 420px) {
  #go:disabled { display: none; }
  #go { padding: 10px 0 !important; font-size: 16px !important; }
  #prep header { padding: 4px 10px; align-items: center; }
  #prep header > span:not(.count), #prep header .count { display: none; }
  #prep header button { padding: 2px 9px !important; }
  #watertabs .wt { padding: 5px 2px; font-size: 11.5px; }
  #searchrow { margin: 4px 8px; min-height: 30px; }
  #viewtg button { padding: 4px 10px; font-size: 12px; }
  #spotlist.mapmode #listarea { gap: 8px; padding: 0 8px 6px; }
  #spotlist.mapmode #mapbox { flex: 1.35 1 0; }
  .rghead { margin: 0 2px 4px; }
  .rg { padding: 4px 8px; margin-bottom: 4px; gap: 6px; }
  .rg .rn { font-size: 12.5px; }
  .rg .rnew, .rg .rdone { font-size: 10px; padding: 1px 6px; }
  .rg .rf img { width: 26px; height: 12px; }
  .rg .rf img:nth-child(3) { display: none; }
}

#mapbox .ld line { stroke: rgba(234, 244, 255, .45); stroke-width: 1; vector-effect: non-scaling-stroke; pointer-events: none; }
#mapbox .ld circle { fill: #ffd76a; pointer-events: none; }



@media (max-height: 340px) {

  .set { padding: 6px; }
  .set-head { padding: 6px 12px !important; }
  .set-foot { padding: 6px 12px 8px !important; }
  .set-foot button { padding: 7px 0 !important; }
  .set-body { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 6px 8px !important; padding: 8px 10px !important; }
  .set-row { padding: 7px 9px !important; }
  .set-row small { font-size: 10px !important; line-height: 1.35 !important; }
  .set-seg button { padding: 6px 4px !important; font-size: 12px; }

  #task { padding: 6px; }
  #task .card { padding-bottom: 0 !important; }
  #task .where, #task .tk-rig { display: none; }
  #task .btns { position: sticky; bottom: 0; z-index: 2; margin: 8px -14px 0; padding: 8px 14px 8px;
    background: linear-gradient(180deg, rgba(20, 27, 35, 0), #141b23 14px); }

  #sum { padding: 6px; }
  #sum h2 { margin-bottom: 0 !important; font-size: 18px !important; }
  #sum .where { margin-bottom: 6px !important; }
  #sum .grid div { padding: 4px 4px !important; }
  #sum .grid b { font-size: 16px !important; }
  #sum .tasksum { margin-top: 6px; }
}


@media (max-height: 420px) {
  .hud-menu .card { width: min(560px, 92vw); padding: 10px 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 8px; }
  .hud-menu h3, .hud-menu button.primary, .hud-menu .row, .hud-menu .vol, .hud-menu button[data-a="stop"] { grid-column: 1 / -1; }
  .hud-menu h3 { margin: 0; font-size: 14px; }
  .hud-menu button { padding: 8px; font-size: 13px; }
  .hp .card { width: min(680px, 94vw) !important; padding: 10px 14px !important; display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px;
    max-height: 96vh; overflow-y: auto; }
  .hp h3, .hp .primary { grid-column: 1 / -1; }
  .hp h3 { margin-bottom: 4px; font-size: 14px; }
  .hp-row { padding: 5px 0; border-bottom: 0; }
  .hp .primary { margin-top: 6px; padding: 8px !important; }



  .hp .card > .primary, .hp .gd-foot { position: sticky; bottom: 0; z-index: 2; }
  .hp .card > .primary { box-shadow: 0 -14px 12px -2px #141b23; }
  .hp .gd-foot { grid-column: 1 / -1; margin: 0 -14px; padding: 0 14px 4px;
    background: linear-gradient(180deg, rgba(20, 27, 35, 0), rgba(20, 27, 35, .9) 12px, #141b23 20px); }
  .hp .gd-foot .gd-src { padding-top: 20px; margin-top: 0; }
}

.hp .gd-foot { grid-column: 1 / -1; }

.hp-row span { word-break: keep-all; overflow-wrap: anywhere; }

@media (max-height: 340px) {


  .spothero img { height: 42px !important; }

  .tb-card { padding: 7px 10px; gap: 8px; }
  .tb-card-l b { font-size: 14px; }
  #land { padding: 8px 16px; }
  #land img { max-height: 30vh !important; }
  #land .hero b { font-size: 34px !important; }
  #land .chips { margin-top: 4px; }
}



body.game-shell #land.flat {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-auto-rows: auto; column-gap: 14px;
  align-items: center; justify-items: start; text-align: left;
  padding: 9px 16px 10px 12px; max-height: calc(100% - 18px);
}
body.game-shell #land.flat img { grid-column: 1; grid-row: 1 / span 5; max-height: min(36vh, 112px) !important; max-width: 156px; align-self: center; }
body.game-shell #land.flat .t { grid-column: 2; grid-row: 1; margin-bottom: 3px; padding: 2px 12px; }
body.game-shell #land.flat .name { grid-column: 2; margin-top: 0; font-size: 19px; line-height: 1.2; }


body.game-shell #land.flat .name { font-family: -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", sans-serif; font-weight: 800 !important; letter-spacing: 0; }
body.game-shell #land.flat .hero { grid-column: 2; justify-content: flex-start; margin-top: 0; }
body.game-shell #land.flat .chips { grid-column: 2; justify-content: flex-start; margin-top: 5px; }
body.game-shell #land.flat .chips span { white-space: nowrap; }
body.game-shell #land.flat .why { grid-column: 2; margin-top: 3px; }



body.game-shell #stage.landing #land { z-index: 12; }
#stage.landing .hud-strike, #stage.landing .hud-reel, #stage.landing .hud-cast, #stage.landing .hud-lever { opacity: 0; transition: opacity .2s; }




#stage.landing .hud.vert .hud-strike, #stage.landing .hud.vert .hud-reel, #stage.landing .hud.vert .hud-cast, #stage.landing .hud.vert .hud-lever { opacity: 0; }


#stage.landing .hud.vert .hud-acts { visibility: hidden; }
#stage.landing .hud-hint { visibility: hidden; }



.hud-hint.fwmid {
  top: 92px; bottom: auto; width: fit-content; max-width: min(calc(100% - 16px), 420px); margin: 0 auto; box-sizing: border-box;
  padding: 3px 12px 4px; border-radius: 9px; background: rgba(0, 0, 0, .62);
  font-size: 16px; font-weight: 700; color: #fff; line-height: 1.3; word-break: keep-all; overflow-wrap: anywhere;
  transition: top .15s ease-out;
}

.hud-hint.fwmid.cue { top: 116px; }


.hud-hint.fwmid.hold { visibility: hidden; }



.hud-read.cen { top: auto; bottom: calc(100% - 88px); max-width: none; align-items: center; text-align: center; }
.hud-read.cen .hud-title:not(:empty) { background: rgba(4, 10, 16, .58); padding: 0 10px 1px; border-radius: 8px; }

.hud-read.cen .hud-title { font-size: 14px; }
.hud-read.cen .hud-title.pop:not(.alarm) { transform-origin: 50% 50%; }
.hud-read.cen.cue { visibility: hidden; }


.hud-read.pill .hud-title:not(:empty) { background: rgba(4, 10, 16, .58); padding: 0 8px 1px; border-radius: 8px; }



.hud-hint.band {
  width: fit-content; max-width: calc(100% - 16px); margin: 0 auto; box-sizing: border-box;
  padding: 2px 10px 3px; border-radius: 8px; background: rgba(0, 0, 0, .55);
  color: rgba(236, 244, 250, .96); line-height: 1.35; word-break: keep-all; overflow-wrap: anywhere;
}
.hud-hint.band.hot { font-size: 13px; font-weight: 700; color: #fff; }



.hud-hint.band.low { bottom: 50px; max-width: min(calc(100% - 16px), 400px); font-size: 13px; font-weight: 700; color: #fff; }


.hud-hint.band.fwb:not(.low) { bottom: 12px; }



.hud-hint.band.low.netup { top: 62px; bottom: auto; max-width: min(calc(100% - 16px), 540px); font-size: 12px; line-height: 1.3; padding: 1px 10px 2px; }



.hud-hint.band.low.runup { top: 86px; bottom: auto; left: auto; right: 54px; margin: 0; }

.hud.fight.vert .hud-chip.task { visibility: hidden; }



.hud-chip.spotcut { display: block; max-width: 9em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


.hud-chip.rockcut { display: block; max-width: 9em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hud-chips:has(.hud-chip.rockcut) { max-width: 70%; }

@media (max-height: 340px) {
  #sidobar { padding: 4px 8px 0; }
  #sidobar .sd { padding: 2px 9px; font-size: 11.5px; }
  #searchrow { margin: 3px 8px; min-height: 26px; }
  #searchrow #spotsearch { padding-top: 4px !important; padding-bottom: 4px !important; }
  #spots .spot { padding: 5px 9px; margin-bottom: 4px; }
  #spots .spot .m { margin-top: 1px; }
}



@media (max-height: 340px) and (min-width: 760px) {
  #prep[data-step="1"]:not(.lobby) #lastspot { position: absolute; top: 5px; right: 10px; z-index: 6; width: auto; max-width: calc(100% - 590px);
    padding: 4px 11px; gap: 6px; border: 1px solid #3a4956; border-radius: 99px; font-size: 12px; }
  #prep[data-step="1"]:not(.lobby) #lastspot img, #prep[data-step="1"]:not(.lobby) #lastspot span { display: none; }
  #prep[data-step="1"]:not(.lobby) #lastspot u { order: -1; margin-left: 0; }
  #prep[data-step="1"]:not(.lobby) #lastspot b { font-size: 12px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #prep[data-step="1"]:not(.lobby) #watertabs .wt { padding-top: 6px; padding-bottom: 6px; }

  #prep[data-step="1"]:not(.lobby) #spots .spot { padding-top: 4px; padding-bottom: 4px; }
  #prep[data-step="1"]:not(.lobby) #spots .fishrow .fi { padding-top: 1px; padding-bottom: 1px; }
  #prep[data-step="1"]:not(.lobby) #spots .fishrow { margin-top: 0; }
  #prep[data-step="1"]:not(.lobby) #spots .fishrow .fi img { height: 15px; }
  #prep[data-step="1"]:not(.lobby) #spots .fishrow .fi b { line-height: 1.05; }
}




@media (max-height: 420px) {
  #spotlist.mapmode:not(.hassgg) #searchrow { position: relative; z-index: 3; margin-bottom: -30px; pointer-events: none; }
  #spotlist.mapmode:not(.hassgg) #searchrow > * { pointer-events: auto; }
  #spotlist.mapmode:not(.hassgg) #crumb { flex: 0 1 auto; margin: 0 0 0 5px; padding: 0 7px; font-size: 12.5px;
    background: rgba(6, 12, 20, .72); border-radius: 99px; }

  #spotlist.mapmode:not(.hassgg) #crumb button, #spotlist.mapmode:not(.hassgg) #crumb b { padding: 6px 4px; }
  #spotlist.mapmode:not(.hassgg) #viewtg { margin-left: auto; }
  #spotlist.mapmode:not(.hassgg) #spots .rghead { height: 30px; line-height: 30px; margin: 0 2px 2px; padding-right: 96px;
    font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #spotlist.mapmode:not(.hassgg) #spots .rghead .rgsd { display: none; }
}
@media (max-height: 340px) {
  #spotlist.mapmode:not(.hassgg) #searchrow { margin-bottom: -26px; }
  #spotlist.mapmode:not(.hassgg) #spots .rghead { height: 26px; line-height: 26px; }
}



@media (max-height: 420px) and (min-width: 600px) {
  #go:not(:disabled) { position: absolute; right: 0; bottom: 0; width: 268px; z-index: 5; }
  #prep:has(#go:not(:disabled)) #detail .scroll { padding-bottom: 52px; }


  #prep[data-step="2"] #go:not(:disabled),
  #prep[data-step="3"] #go:not(:disabled) { position: static; width: auto; }
  #prep[data-step="2"] #detail .scroll,
  #prep[data-step="3"] #detail .scroll { padding-bottom: 0; }
}



@media (max-height: 420px) {
  #prep[data-step="2"] #detail .scroll, #prep[data-step="3"] #detail .scroll, #spotlist.mapmode:not(.hassgg) #spots {
    padding-bottom: 30px;
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 30px), rgba(0, 0, 0, .35) calc(100% - 14px), transparent);
    mask-image: linear-gradient(180deg, #000 calc(100% - 30px), rgba(0, 0, 0, .35) calc(100% - 14px), transparent);
  }
}
@media (max-height: 420px) {

  #prep[data-step="2"] #go:disabled,
  #prep[data-step="3"] #go:disabled { display: block; }
  #back { padding: 10px 14px; font-size: 13px; }
}



@media (max-height: 340px) {
  .hud-center { padding-top: 3vh; gap: 2px; }
  .hud-hero { font-size: 28px; }
  .hud-hero i { font-size: 13px; }
  .hud-title { font-size: 17px; }
}


@media (max-height: 420px) {
  #rec, #dex { padding: 6px; }
  #rec .card, #dex .card { padding: 8px 14px 0 !important; }
  #rec h2, #dex h2 { font-size: 16px; margin-bottom: 4px; }
  #rec .rectitle, #dex .rectitle { margin: 6px 0 3px; }
  #rec .btns, #dex .btns { margin: 6px -14px 0 !important; padding: 6px 14px 8px !important; }
  #rec .btns button, #dex .btns button { padding: 8px 0; }
  #rec .grid div { padding: 3px 4px; }
  #rec .grid b { font-size: 14px; }
  #rec .grid span { font-size: 10px; }
  .trophies .tro .th { height: 24px; }
  #dex .dexlist { gap: 6px; }
  #dex .dexlist div.go { padding: 5px 5px 4px; }
  #dex .dexlist .th { height: 34px; }




  #dex .dexlist { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }


  #dex .dexnum { display: inline-block; margin-right: 10px; }
  #dex .dexkey { display: inline; }


  #dex .dexhead { position: sticky; top: 0; z-index: 3; margin: -8px -14px 0; padding: 6px 14px 2px; background: #1e2833; }
  #dex .dexhead h2 { margin: 0; }
  #dex .dexhead .dex-x { display: block; }
  #dex .btns { display: none; }
  #dex .card { padding-bottom: 8px !important; }
  #dex .dexnum, #dex .dexkey { font-size: 10.5px; }
  #dex .dexnum { margin: 3px 8px 2px 0; }
  #dex .dexkey .dk-more { display: none; }
  #dex .dexkey .dk-short { display: inline; }


  #dex .dexlist .th { height: 28px; }
  #dex .dexlist .sd { flex-wrap: nowrap; }
  #dex .dexlist .sd i { padding: 0 3px; font-size: 9px; }
  #dex .dexlist div.go .w { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: unset; line-clamp: unset; }

  #dex .dexlist div.go .w:has(.wh) { display: flex; justify-content: center; }
  #dex .dexlist div.go .w .wh { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  #dex .dexlist div.go .w .wt { flex: 0 0 auto; white-space: pre; }
}
#dex .dexlist .w .wh, #dex .dexlist .w .wt { font-style: normal; text-decoration: none; }

#dex .dexhead { display: flex; align-items: center; gap: 8px; }
#dex .dex-x { display: none; margin-left: auto; width: 34px; height: 30px; padding: 0; border-radius: 9px; font-size: 15px; line-height: 1;
  background: #223040; border: 1px solid #3a4956; color: #c8d9e8; cursor: pointer; }
#dex .dk-short { display: none; }



#login .btns button:only-child { grid-column: 1 / -1; }
@media (max-height: 340px) {
  #login { padding: 6px; }
  #login .card { padding: 8px 14px 0 !important; }
  #login h2 { font-size: 16px; }
  #login .where { margin-bottom: 6px; }
  #login .social { gap: 6px; }
  #login .social button { padding: 9px 0; }
  #login .btns { margin: 6px -14px 0 !important; padding: 6px 14px 8px !important; }
  #login .btns button { padding: 8px 0; }
}



@media (max-height: 340px) and (min-width: 560px) {
  #login .card.loginpick {
    width: min(640px, 100%); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 14px;
    grid-template-areas: "h w" "wh w" "so w" "bt bt"; grid-template-rows: auto auto 1fr auto; align-content: start;
  }
  #login .loginpick h2 { grid-area: h; }
  #login .loginpick .where { grid-area: wh; }
  #login .loginpick .social { grid-area: so; align-self: start; }
  #login .loginpick .warn { grid-area: w; align-self: start; margin-top: 8px; padding: 8px 10px; line-height: 1.55; font-size: 11.5px; }
  #login .loginpick .btns { grid-area: bt; position: static; background: none; margin: 8px -14px 0 !important; }
}




@media (max-height: 420px) {
  #sum { padding: 6px; }
  #sum h2 { margin-bottom: 0 !important; font-size: 18px !important; }
  #sum .where { margin-bottom: 6px !important; }
  #sum .grid div { padding: 4px 4px !important; }
  #sum .grid b { font-size: 16px !important; }
  #sum .tasksum { margin-top: 6px; }
}

@media (max-height: 420px) and (min-width: 700px) {
  .set { padding: 6px; }
  .set-head { padding: 6px 12px !important; }
  .set-foot { padding: 6px 12px 8px !important; }
  .set-foot button { padding: 7px 0 !important; }
  .set-body { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 6px 8px !important; padding: 8px 10px !important; }
  .set-row { padding: 7px 9px !important; }
  .set-row small { font-size: 10px !important; line-height: 1.35 !important; }
  .set-seg button { padding: 6px 4px !important; font-size: 12px; }
}

.set-seg button, .set-row small { word-break: keep-all; overflow-wrap: anywhere; }



#land .glow { background: radial-gradient(circle closest-side at 50% 42%, rgba(255, 214, 106, .28), rgba(255, 214, 106, 0)); }
#land.best .glow { background: radial-gradient(circle closest-side at 50% 42%, rgba(255, 214, 106, .42), rgba(255, 214, 106, 0)); }


#prep header #opengset {
  margin-left: 6px; cursor: pointer; color: var(--dim);
  border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px; font-size: 14px;
}
#prep header #opengset:hover { color: var(--text); border-color: #3a4956; }


@media (max-height: 420px) {
  #watertabs .wt { flex: 1 1 auto; }
}


#dex .dexlist .w {
  white-space: normal; word-break: keep-all; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
}

.hud-chip.lamp { font: inherit; font-size: 12px; line-height: 1.5; cursor: pointer; color: #9fb2c3; }
.hud-chip.lamp.on {
  color: #ffe7a3; border-color: rgba(255, 214, 120, .55); background: rgba(58, 44, 14, .62);
  box-shadow: 0 0 10px rgba(255, 214, 120, .28);
}
.hud-chip.lamp:active { transform: scale(.95); }



#mapbox .mapctl { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
#mapbox .mapbigbtn {
  position: absolute; right: 8px; top: 8px; pointer-events: auto; cursor: pointer;
  background: rgba(6, 12, 20, .8); color: #cfe6f7; border: 1px solid rgba(127, 209, 255, .38);
  border-radius: 99px; padding: 6px 11px; font: 700 12px/1.2 -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}
#mapbox .mapbigbtn:hover { border-color: #7fd1ff; color: #fff; }
#mapbox .mapnav {
  position: absolute; left: 8px; top: 8px; pointer-events: auto; display: flex; align-items: center; gap: 4px;
  background: rgba(6, 12, 20, .8); border-radius: 99px; padding: 0 10px; font-size: 14px; white-space: nowrap;
}
#mapbox .mapnav button { background: none; border: 0; color: #7fd1ff; font: inherit; font-weight: 700; padding: 7px 4px; cursor: pointer; }
#mapbox .mapnav b { color: #fff; padding: 7px 4px; }
#mapbox .mapnav i { color: #56697a; font-style: normal; }
#spotlist.mapbig #mapbox {
  position: fixed !important; inset: 0 !important; z-index: 80; flex: none !important;
  border-radius: 0 !important; border: 0 !important; display: block !important;
}
#spotlist.mapbig #mapbox .mapbigbtn { right: 12px; top: 10px; font-size: 13px; padding: 7px 13px; }
#spotlist.mapbig #mapbox .mapnav { left: 12px; top: 10px; }




#land .chips span.care {
  color: #ffe0a0; font-weight: 700; background: rgba(92, 62, 12, .6); border-color: rgba(255, 200, 110, .5);
}
#land img { position: relative; z-index: 1; }
#land .inkfx { position: absolute; left: 50%; top: 30%; width: 0; height: 0; z-index: 0; pointer-events: none; }
#land .inkfx i {
  position: absolute; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle closest-side, rgba(6, 8, 14, .92), rgba(8, 10, 18, .6) 55%, rgba(8, 10, 18, 0));
  animation: land-ink 2.1s cubic-bezier(.15, .8, .3, 1) forwards;
}
#land .inkfx i:nth-child(1) { width: 260px; height: 200px; left: -330px; top: -120px; animation-delay: .26s; }
#land .inkfx i:nth-child(2) { width: 230px; height: 190px; left: 110px; top: -175px; animation-delay: .30s; }
#land .inkfx i:nth-child(3) { width: 170px; height: 140px; left: -270px; top: 40px; animation-delay: .34s; }
#land .inkfx i:nth-child(4) { width: 160px; height: 130px; left: 150px; top: 20px; animation-delay: .38s; }
#land .inkfx i:nth-child(5) { width: 120px; height: 100px; left: -70px; top: -210px; animation-delay: .42s; }
@keyframes land-ink {
  0% { transform: scale(.12); opacity: 0; }
  14% { opacity: 1; }
  65% { opacity: .85; }
  100% { transform: scale(1.18); opacity: 0; }
}
@media (max-height: 420px) { #land .inkfx i { transform-origin: center; } #land .inkfx { transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { #land .inkfx i { animation-duration: .01s; } }

#dex .dexlist div.go { position: relative; }
#dex .dexlist .cr {
  position: absolute; left: 5px; top: 5px; z-index: 1; font-style: normal; font-size: 9.5px; font-weight: 800; line-height: 1.4;
  color: #ffe0a0; background: rgba(92, 62, 12, .72); border: 1px solid rgba(255, 200, 110, .5); border-radius: 99px; padding: 0 5px;
}
#dex .dexlist .cr + .cr { top: 22px; }

.hud-chip.wind { color: #cfe3f2; }
.hud-chip.rain { color: #a9d4ff; }
.hud-chip.tide { color: #9fe3d6; }
.hud-chip.fog { color: #d6dde4; }
.hud-chip.snow { color: #eef4fa; }

#dex .dexlist .td { position: absolute; right: 5px; top: 4px; z-index: 1; font-style: normal; font-size: 12px; line-height: 1; opacity: .9; }
#dex .dexlist div.go.yet .td { opacity: .55; }
#dex .dexkey { font-size: 11px; color: #8fa6ba; margin: 2px 0 6px; }




.gd-rows { background: rgba(255, 255, 255, .03); border: 1px solid #2b3742; border-radius: 10px; padding: 6px 10px; }
.gd-row { display: grid; grid-template-columns: 54px 1fr; gap: 8px; padding: 4px 0; font-size: 12px; line-height: 1.55; border-bottom: 1px solid #232e38; }
.gd-row:last-of-type { border-bottom: 0; }
.gd-row b { color: #9fd9ff; font-weight: 700; }
.gd-row span { color: #d6e5f2; word-break: keep-all; overflow-wrap: anywhere; }
.gd-src { font-size: 10.5px; color: #7f97ab; margin-top: 4px; grid-column: 1 / -1; }
.gd-coach {
  position: absolute; left: 50%; bottom: 34px; transform: translate(-50%, 8px); z-index: 30;
  max-width: min(560px, 76vw); padding: 7px 14px; border-radius: 12px;
  background: rgba(10, 22, 34, .88); border: 1px solid rgba(255, 196, 83, .55); color: #ffe8b0;
  font: 600 13px/1.45 -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", sans-serif; text-align: center;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .45); opacity: 0; pointer-events: none;
  transition: opacity .35s ease, transform .35s ease; word-break: keep-all; overflow-wrap: anywhere;
}
.gd-coach.on { opacity: 1; transform: translate(-50%, 0); }
@media (max-height: 420px) { .gd-coach { bottom: 26px; font-size: 12px; padding: 5px 12px; max-width: 64vw; } }


@media (max-height: 420px) {
  .hud-menu .card { grid-template-columns: repeat(6, 1fr); }
  .hud-menu .card > button[data-a="tackle"], .hud-menu .card > button[data-a="help"], .hud-menu .card > button[data-a="guide"], .hud-menu .card > button[data-a="photo"] { grid-column: span 2; }
}



#installbar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 10px; z-index: 60;
  display: flex; align-items: center; gap: 10px; max-width: min(92vw, 560px);
  padding: 8px 10px 8px 14px; border-radius: 12px;
  background: rgba(26, 34, 43, .96); border: 1px solid #35434f; color: #e8eef4;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .5); font-size: 13px;
}
#installbar b { font-weight: 700; white-space: nowrap; }
#installbar span { color: #b8c6d2; min-width: 0; }
#installbar .ib-go {
  margin-left: auto; padding: 5px 12px; border-radius: 8px; cursor: pointer; white-space: nowrap;
  background: #2e7d46; border: 1px solid #3c9a58; color: #fff; font-weight: 700;
}
#installbar .ib-x {
  padding: 4px 6px; border-radius: 6px; cursor: pointer;
  background: transparent; border: 0; color: #8fa3b3; font-size: 14px;
}
@media (max-height: 420px) {
  #installbar { bottom: 6px; padding: 5px 8px 5px 11px; font-size: 12px; gap: 8px; }
  #installbar .ib-go { padding: 4px 10px; }
}




#installbar .ib-chip { display: none; font-style: normal; }
body:has(#prep.lobby:not([hidden])) #installbar {
  left: auto; right: 10px; transform: none; bottom: auto; top: 5px; max-width: 230px;
  padding: 3px 3px 3px 10px; gap: 2px; border-radius: 99px; font-size: 12px; cursor: pointer; box-shadow: none;
}
body:has(#prep.lobby:not([hidden])) #installbar > b,
body:has(#prep.lobby:not([hidden])) #installbar > span,
body:has(#prep.lobby:not([hidden])) #installbar .ib-go { display: none; }
body:has(#prep.lobby:not([hidden])) #installbar .ib-chip { display: inline; white-space: nowrap; color: #e8eef4; }
body:has(#prep.lobby:not([hidden])) #installbar .ib-x { padding: 2px 6px; font-size: 12px; }

body:has(#prep.lobby:not([hidden])) #installbar.open { flex-wrap: wrap; max-width: 300px; border-radius: 12px; padding: 5px 4px 7px 10px; }
body:has(#prep.lobby:not([hidden])) #installbar.open > span { display: block; flex-basis: 100%; font-size: 11.5px; }

body.game-shell #installbar { display: none; }


.cap-say {
  position: fixed; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 50px); transform: translateX(-50%);
  max-width: min(84vw, 660px); z-index: 40; pointer-events: none;
  display: flex; align-items: baseline; gap: 8px; padding: 6px 12px; border-radius: 10px;
  background: rgba(8, 18, 28, .78); border: 1px solid rgba(255, 210, 120, .35); box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
  color: #eef4f8; font-size: 13px; line-height: 1.35; animation: cap-pop .18s ease-out;




  width: max-content; max-width: min(660px, max(calc(100vw - 300px), 60vw)); word-break: keep-all; overflow-wrap: break-word;
}

.cap-say > span { text-wrap: balance; min-width: 0; }
.cap-say[hidden] { display: none; }


body:has(.hud.sealure) .cap-say { top: calc(env(safe-area-inset-top, 0px) + 96px); }
.cap-say b { color: #ffd27a; font-weight: 700; white-space: nowrap; font-size: 12px; }
@keyframes cap-pop { from { opacity: 0; transform: translate(-50%, -4px); } to { opacity: 1; transform: translate(-50%, 0); } }




.coach {
  position: absolute; inset: 0; z-index: 25; pointer-events: none;
  font: 13px/1.45 -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", sans-serif;
}
.coach .co-hand, .coach .co-ring { position: absolute; width: 0; height: 0; }
.coach [hidden] { display: none !important; }

.coach .co-hand i {
  position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .22); border: 2px solid rgba(255, 255, 255, .92);
  box-shadow: 0 0 12px rgba(0, 0, 0, .45); animation: co-press 1.2s ease-in-out infinite;
}
.coach .co-hand span {
  position: absolute; left: -12px; top: -2px; font-size: 26px; line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .7));
}
@keyframes co-press { 0%, 100% { transform: scale(1); opacity: .95 } 45% { transform: scale(.78); opacity: 1 } 60% { transform: scale(1.18); opacity: .55 } }

.coach[data-step="0"][data-how="flick"] .co-hand { animation: co-flick 1.9s ease-in-out infinite; }
.coach[data-step="0"][data-how="flick"] .co-hand i,
.coach[data-step="0"][data-how="swipe"] .co-hand i { animation: none; }
@keyframes co-flick {
  0% { transform: translateY(-6px); opacity: 0 } 10% { opacity: 1 }
  48% { transform: translateY(46px); opacity: 1 } 58% { transform: translateY(46px) }
  72% { transform: translateY(-84px); opacity: 1 } 86%, 100% { transform: translateY(-84px); opacity: 0 }
}
.coach[data-step="0"][data-how="swipe"] .co-hand { animation: co-swipe 2.1s ease-in-out infinite; }
@keyframes co-swipe {
  0% { transform: translateX(-70px); opacity: 0 } 12% { opacity: 1 }
  62% { transform: translateX(60px); opacity: 1 } 76% { transform: translateX(60px); opacity: 1 } 90%, 100% { transform: translateX(60px); opacity: 0 }
}

.coach .co-ring::before {
  content: ''; position: absolute; left: -24px; top: -24px; width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid rgba(255, 214, 120, .95); box-shadow: 0 0 10px rgba(255, 200, 90, .55);
  animation: co-ring 1.6s ease-in-out infinite;
}
@keyframes co-ring { 0%, 100% { transform: scale(1); opacity: .95 } 50% { transform: scale(1.25); opacity: .5 } }

.coach .co-card {
  position: absolute; top: 50%; transform: translateY(-50%); width: min(250px, 36vw); box-sizing: border-box;
  pointer-events: auto; padding: 8px 10px 9px; border-radius: 12px;
  background: rgba(10, 18, 26, .9); border: 1px solid rgba(255, 214, 120, .45); color: #eef4f8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45); animation: co-in .2s ease-out;
}
.coach .co-card[data-side="left"] { left: 12px; }
.coach .co-card[data-side="right"] { right: 12px; }
@keyframes co-in { from { opacity: 0 } to { opacity: 1 } }
.coach .co-top { display: flex; align-items: baseline; gap: 6px; margin-bottom: 3px; }
.coach .co-step { font-style: normal; font-size: 11px; font-weight: 700; color: #ffd27a; }
.coach .co-title { font-size: 14px; font-weight: 800; }
.coach .co-x {
  margin-left: auto; padding: 4px 0 4px 8px; background: none; border: 0; cursor: pointer;
  color: #8fa3b3; font: 11px/1 inherit;
}
.coach .co-text { margin: 0; font-size: 12.5px; color: #dbe7f1; word-break: keep-all; overflow-wrap: anywhere; }
.coach .co-text b { color: #ffd98a; }
.coach .co-btns { display: flex; justify-content: flex-end; gap: 6px; margin-top: 7px; }
.coach .co-btns:empty { display: none; }
.coach .co-btns button {
  min-height: 32px; padding: 0 14px; border-radius: 9px; cursor: pointer;
  border: 1px solid #3a4b5a; background: #24323f; color: #e6eef5; font: 700 13px/1 inherit;
}
.coach .co-btns button.pri { background: #2a6fb5; border-color: #3f8ad6; color: #fff; }
@media (max-height: 340px) {
  .coach .co-card { padding: 6px 9px 7px; }
  .coach .co-text { font-size: 12px; line-height: 1.38; }
  .coach .co-btns { margin-top: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .coach .co-hand, .coach .co-hand i, .coach .co-ring::before, .coach .co-card { animation: none !important; }
}

.set-voice-in { display: flex; gap: 8px; }
.set-voice-in select { flex: 1; min-width: 0; padding: 9px 8px; border-radius: 9px; background: #1b2530; color: #e6eef5; border: 1px solid #33424f; font-size: 13px; }
.set-voice-in button { padding: 9px 12px; border-radius: 9px; background: #24323f; color: #e6eef5; border: 1px solid #3a4b5a; font-size: 13px; cursor: pointer; white-space: nowrap; }
