#koprukart {grid-column:1/-1}
#koprukart,body[data-ana="kopru"] {
  --game-accent:#5A3892;
  --scene-color:#6845A4;
  --title-color:#452970;
  --title-color-dark:#DBCAFF;
}
.kopru-screen.screen {
  width:100%;
  height:calc(100dvh - var(--safe-top, 0px) - var(--safe-bottom, 0px) - 44px);
  min-height:540px;
  border:0;
  padding:0;
  gap:5px;
  color:var(--ink);
  background:transparent;
}
.kopru-screen:focus {outline:none}
.kopru-screen > * {width:100%;min-width:0}
.kopru-screen .sw-ust-baslik,
.kopru-screen .sw-ust-baslik > * {
  white-space:normal;
  text-overflow:clip;
  overflow:visible;
  overflow-wrap:anywhere;
}
.kopru-screen .sw-ust h2 {font-size:clamp(.96rem, 4.7vw, 1.35rem)}
.kopru-center .kopru-menu {margin-block:auto}
.kopru-menu {display:grid;gap:12px;text-align:left}
.kopru-menu .kdm-kart .kdm-secim {min-height:44px}
.kopru-menu .kdm-joker {min-height:44px}
.kopru-board {
  flex:1 1 0;
  min-height:0;
  display:flex;
  flex-direction:column;
  justify-content:safe center;
  gap:3px;
}
.kopru-board > :not(.kopru-steps) {flex:none}
.kopru-row {
  display:grid;
  grid-template-columns:clamp(4.5rem, 25vw, 6rem) 1fr;
  align-items:center;
  gap:6px;
  padding-inline:3px;
  text-align:start;
}
.kopru-row > span {font-size:.77rem;font-weight:700}
.kopru-tiles {display:flex;gap:4px;align-items:center}
.kopru-tile {
  width:clamp(20px, 7.7vw, 33px);
  height:clamp(20px, 6.5dvh, 30px);
  flex:none;
  display:grid;
  place-items:center;
  border-radius:6px;
  border:1px solid var(--line);
  color:var(--ink);
  background:var(--slot);
  font:800 .92rem/1 var(--f-display, system-ui);
  box-shadow:inset 0 1px rgba(255,255,255,.2), 0 2px color-mix(in srgb, var(--line) 70%, transparent);
}
:root[data-view="flat"] .kopru-tile {box-shadow:none}
.kopru-tile.aligned {
  background:color-mix(in srgb, var(--good) 22%, var(--card));
  border-color:var(--good);
}
.kopru-tile.changed {border-style:double;border-width:3px}
.kopru-tile.pointed {outline:2px solid var(--game-accent);outline-offset:1px}
:root[data-theme="dark"] .kopru-tile.pointed {outline-color:#CEB7FC}
.kopru-steps {
  position:relative;
  min-height:24px;
  overflow-y:auto;
  margin:0;
  padding:2px 0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:2px;
  background:color-mix(in srgb, var(--card) 72%, transparent);
  border-block:1px solid var(--line);
  border-radius:8px;
}
.kopru-steps li {flex:none}
.kopru-entry {
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:35px;
  padding:3px 6px;
  gap:4px;
  border-radius:8px;
  border:1px solid var(--line);
  background:var(--card);
}
.kopru-meter {display:grid;gap:2px;text-align:start;font-size:.72rem;font-weight:700}
.kopru-controls {display:grid;gap:4px;flex:none}
.kopru-status {width:100%;min-height:1.1rem;font-size:.78rem;text-align:center}
.kopru-status.kopru-error {color:var(--bad)}
.kopru-actions {display:flex;align-items:stretch;gap:4px}
.kopru-actions > button {flex:1 1 0}
.kopru-screen .btn,
.kopru-screen .kd-key {
  min-height:44px;
  min-width:44px;
  padding:3px 5px;
  white-space:normal;
  overflow-wrap:anywhere;
  border-radius:9px;
  font-size:.8rem;
  line-height:1.13;
}
.kopru-screen .kd-kb.kopru-keys {display:grid;max-width:100%;gap:3px;padding:0}
.kopru-keys .kd-key {font-size:1rem}
.kopru-actions button[data-kopru-action="submit"] {flex-grow:1.25}
.kopru-menu p {max-width:none}
.kopru-screen .kopru-result {
  flex:0 1 auto;
  min-height:0;
  margin-block:auto;
  padding:12px;
  overflow-y:auto;
  background:var(--card);
  border-radius:14px;
  border:1px solid var(--line);
  text-align:start;
}
.kopru-result h3,.kopru-result h4 {margin:0 0 6px}
.kopru-result h4 {margin-top:12px}
.kopru-definitions {margin:0 0 8px}
.kopru-definitions > div {display:grid;grid-template-columns:4.3rem minmax(0, 1fr);gap:6px;padding:5px 0;border-bottom:1px solid var(--line)}
.kopru-definitions dt {font-weight:800}
.kopru-definitions dd {margin:0;overflow-wrap:anywhere}
.kopru-screen :is(#kopru-voice,#kopru-league-status):empty {display:none}
#sahne .kopru-screen .sw-ust button {min-width:44px;min-height:44px}
#sahne .kopru-screen .kd-kb {margin:0 auto;--harf-aralik:3px}
#sahne .kopru-screen .kd-kb .kd-key {
  width:44px;
  height:44px;
  min-width:44px;
  min-height:44px;
  flex:0 0 44px;
}
.kopru-screen .btn.main {background:var(--game-accent);color:white}
