/* SakibPro DLS Guess the Player: on top of the shared kit creator styles (kit.css) */
.gp-wrap { max-width: 1040px; }
.gp { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.gp-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.seg2 { display: flex; gap: 6px; }
.seg2 button { padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line2); background: var(--bg2); color: var(--mut); font-weight: 700; font-size: 13px; }
.seg2 button.on { background: rgba(0, 229, 255, .12); border-color: var(--acc); color: var(--txt); }
.gp-meta { display: flex; align-items: baseline; gap: 10px; margin-left: auto; }
.gp-meta b { font: 800 22px/1 var(--head); color: var(--acc); }
.gp-meta span { color: var(--mut); font-size: 13px; font-weight: 600; }
.gp-icons { display: flex; gap: 6px; }
.gp-icons .ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line2); background: var(--bg2); color: var(--txt); font-weight: 800; }
.gp-search { position: relative; margin-top: 12px; }
.gp-search input { width: 100%; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line2); background: var(--bg2); color: var(--txt); font: 700 17px/1.2 Inter, system-ui, sans-serif; }
.gp-search input:focus { outline: 2px solid var(--acc); outline-offset: 1px; }
.gp-search input:disabled { opacity: .55; }
.gp-sug { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 0; list-style: none; border-radius: 14px; background: var(--card2); border: 1px solid var(--line2); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); overflow: hidden; }
.gp-sug:empty { display: none; }
.gp-sg { display: block; width: 100%; padding: 10px 14px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--txt); text-align: left; }
.gp-sg:hover, .gp-sg.on { background: rgba(0, 229, 255, .1); }
.gp-sg b { display: block; font-size: 15px; }
.gp-sg small { color: var(--mut); font-size: 12px; }
.gp-none { padding: 12px 14px; color: var(--mut); font-size: 13px; }
.gp-hints { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; align-items: center; }
.gp-hint { padding: 9px 12px; border-radius: 10px; border: 1px dashed var(--line2); background: var(--bg2); color: var(--txt); font-weight: 700; font-size: 13px; }
.gp-hint:disabled { opacity: .55; cursor: default; }
.gp-hint small { color: var(--mut); font-weight: 600; }
.gp-hint.open { border-style: solid; border-color: rgba(250, 204, 21, .55); background: rgba(250, 204, 21, .08); }
.gp-hints .btn { margin-left: auto; }
.gp-empty { margin: 18px 0 8px; color: var(--mut); text-align: center; font-size: 14px; }
.gp-scroll { margin-top: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.gp-table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 4px; }
.gp-table thead th { padding: 4px 6px; color: var(--mut); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; text-align: center; }
.gp-table thead th:first-child { text-align: left; }
.gp-table tbody th { position: sticky; left: 0; z-index: 2; min-width: 128px; max-width: 160px; padding: 8px 10px; border-radius: 10px; background: var(--card2); text-align: left; }
.gp-table tbody th b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-table tbody th small { display: block; color: var(--mut); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc { height: 58px; padding: 4px 6px; border-radius: 10px; text-align: center; font-weight: 800; font-size: 13.5px; line-height: 1.15; color: #fff; }
.gc span { display: flex; align-items: center; justify-content: center; gap: 4px; flex-wrap: wrap; }
.gc small { font-size: 10px; font-weight: 700; opacity: .8; }
.gc img { width: 22px; height: auto; border-radius: 2px; }
.gc .ar { font-style: normal; font-size: 12px; opacity: .9; }
.gc.g, .gp-legend .g, .gp-help .g { background: #16a34a; }
.gc.y, .gp-legend .y, .gp-help .y { background: #ca8a04; }
.gc.n, .gp-legend .n { background: #1f2a44; color: #cbd5e1; }
tr.new .gc { animation: gpflip .45s ease both; }
tr.new .gc:nth-child(3) { animation-delay: .06s; } tr.new .gc:nth-child(4) { animation-delay: .12s; } tr.new .gc:nth-child(5) { animation-delay: .18s; }
tr.new .gc:nth-child(6) { animation-delay: .24s; } tr.new .gc:nth-child(7) { animation-delay: .3s; } tr.new .gc:nth-child(8) { animation-delay: .36s; }
@keyframes gpflip { from { transform: rotateX(90deg); opacity: 0; } to { transform: none; opacity: 1; } }
tr.won th { box-shadow: inset 0 0 0 2px #16a34a; }
.gp-legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 10px 4px 2px; color: var(--mut); font-size: 12px; font-weight: 600; }
.gp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.gp-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.gp-end { display: grid; grid-template-columns: 230px 1fr; gap: 18px; align-items: center; margin-top: 16px; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, rgba(0, 229, 255, .08), rgba(0, 114, 255, .06)); border: 1px solid rgba(0, 229, 255, .25); }
.gp-end[hidden] { display: none; }
.gp-end canvas { width: 100%; height: auto; }
.gp-kick { margin: 0; color: var(--ok); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.gp-end h2 { margin: 4px 0; font: 800 34px/1.05 var(--head); text-transform: uppercase; }
.gp-end-meta { margin: 0 0 12px; color: var(--mut); font-weight: 600; }
.gp-end-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.gp-next { margin: 12px 0 0; color: var(--mut); font-size: 13.5px; }
.gp-next b { color: var(--txt); font-variant-numeric: tabular-nums; }
.linkbtn { padding: 0; border: 0; background: none; color: var(--acc); font-weight: 700; text-decoration: underline; }
.gp-modal { position: fixed; inset: 0; z-index: 2600; display: grid; place-items: center; padding: 16px; }
.gp-modal[hidden] { display: none; }
.gp-back { position: absolute; inset: 0; background: rgba(2, 6, 14, .65); backdrop-filter: blur(3px); }
.gp-box { position: relative; width: min(440px, 100%); max-height: 90vh; overflow: auto; padding: 22px 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line2); }
.gp-box h3 { margin: 0 0 12px; font: 800 26px var(--head); text-transform: uppercase; }
.gp-box h4 { margin: 16px 0 8px; color: var(--mut); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.ks-x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--bg2); color: var(--mut); font-size: 20px; line-height: 1; }
.gp-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.gp-nums b { display: block; font: 800 30px/1 var(--head); }
.gp-nums span { color: var(--mut); font-size: 11.5px; font-weight: 600; }
.gp-dist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.gp-dist li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.gp-dist li span { width: 12px; color: var(--mut); }
.gp-dist i { display: block; min-width: 22px; padding: 2px 8px; border-radius: 4px; background: #1f2a44; font-style: normal; text-align: right; }
.gp-dist i.cur { background: #16a34a; }
.gp-help { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 10px; }
.gp-help li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.gp-help i { flex: none; width: 22px; height: 22px; border-radius: 6px; font-style: normal; text-align: center; font-size: 11px; line-height: 22px; }
.gp-go { width: 100%; margin-top: 8px; }
.btn.sm { padding: 8px 12px; font-size: 12.5px; }
.guide a { color: var(--acc); }
[hidden] { display: none !important; }
@media (max-width: 640px) {
  .gp { padding: 10px; border-radius: 14px; }
  .gp-meta { margin-left: 0; order: 3; width: 100%; }
  .gp-icons { margin-left: auto; }
  .gp-end { grid-template-columns: 1fr; text-align: center; }
  .gp-end canvas { max-width: 220px; margin: 0 auto; }
  .gp-end-btns { justify-content: center; }
  .gp-table tbody th { min-width: 108px; }
}
