/* Board classics (site 1.71.0): dialogs, push buttons, leaderboard rows and the
   guest note, shared by sweeper / reversi / mahjong. Both looks. */
.tc-pbtn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:36px;padding:.4rem .9rem;border-radius:8px;
  border:1px solid var(--tf-accent,#3fd0ff);background:rgba(63,208,255,.12);color:var(--text,#E8ECF0);font:inherit;font-size:.88rem;font-weight:700;cursor:pointer}
.tc-pbtn:hover,.tc-pbtn:focus-visible{background:rgba(63,208,255,.24)}
.tc-pbtn.alt{border-color:var(--border,#2A3A52);background:transparent}
.tc-menubar label{display:inline-flex;align-items:center;gap:.3rem;font-size:.82rem;padding:0 .4rem;min-height:32px;color:var(--text,#E8ECF0)}
.tc-menubar select{background:var(--surface,#161F2E);color:var(--text,#E8ECF0);border:1px solid var(--border,#2A3A52);border-radius:6px;font:inherit;font-size:.82rem;padding:.2rem .3rem;min-height:30px}
.tc-guest{max-width:760px;margin:.8rem auto 0;text-align:center;font-size:.85rem;color:var(--muted,#9FB0C6)}
.tc-guest a{color:var(--gold,#C9A84C);font-weight:700}
.tc-dialog{border:1px solid var(--tf-accent,#3fd0ff);border-radius:12px;padding:0;max-width:min(420px,calc(100vw - 24px));width:100%;
  background:#0d1626;color:var(--text,#E8ECF0);box-shadow:0 20px 60px rgba(0,0,0,.6)}
.tc-dialog::backdrop{background:rgba(2,6,17,.6)}
.tc-dlg-body{padding:1rem 1.1rem 1.2rem;font-size:.9rem;line-height:1.5}
.tc-dlg-body h3{margin:.2rem 0 .5rem;font-size:1.05rem}
.tc-dlg-body ul{margin:.3rem 0 .8rem;padding-left:1.1rem}
.tc-dlg-body .big{font-size:2.4rem;text-align:center;line-height:1.1}
.tc-dlg-body .row{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;margin-top:.9rem}
.tc-dlg-body table{width:100%;border-collapse:collapse;font-size:.85rem}
.tc-dlg-body td,.tc-dlg-body th{padding:.25rem .3rem;border-bottom:1px solid rgba(255,255,255,.08);text-align:left}
.tc-dlg-body td:last-child,.tc-dlg-body th:last-child{text-align:right;font-variant-numeric:tabular-nums}
.tc-dlg-body label{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin:.35rem 0}
.tc-dlg-body input[type=number]{width:5.5em;background:var(--surface,#161F2E);color:inherit;border:1px solid var(--border,#2A3A52);border-radius:6px;padding:.3rem;font:inherit}
.tc-lb{margin-top:.8rem}
.tc-lb h4{margin:0 0 .3rem;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;text-align:center;color:var(--muted,#9FB0C6)}
.tc-lb ol{list-style:none;margin:0;padding:0;max-height:180px;overflow:auto}
.tc-lb li{display:flex;gap:.6rem;padding:.25rem .3rem;border-bottom:1px solid rgba(255,255,255,.06);font-size:.85rem}
.tc-lb li span:nth-child(2){flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tc-lb li b{font-variant-numeric:tabular-nums}
body.tc-on .tc-pbtn{border-radius:0;border:0;background:#c0c0c0;color:#000;font-family:Tahoma,Verdana,sans-serif;font-weight:400;
  box-shadow:inset -1px -1px #0a0a0a,inset 1px 1px #fff,inset -2px -2px #808080,inset 2px 2px #dfdfdf}
body.tc-on .tc-pbtn:active{box-shadow:inset 1px 1px #0a0a0a,inset -1px -1px #fff,inset 2px 2px #808080}
body.tc-on .tc-menubar label{color:#000;font-family:Tahoma,Verdana,sans-serif}
body.tc-on .tc-menubar select{background:#fff;color:#000;border-radius:0;border:1px solid #808080}
body.tc-on .tc-guest{color:#fff}
body.tc-on .tc-guest a{color:#ffff80}
body.tc-on .tc-dialog{border-radius:0;border:0;background:#c0c0c0;color:#000;padding:3px;
  box-shadow:inset -1px -1px #0a0a0a,inset 1px 1px #dfdfdf,inset -2px -2px #808080,inset 2px 2px #fff,8px 8px 0 rgba(0,0,0,.4)}
body.tc-on .tc-dlg-body{font-family:Tahoma,Verdana,sans-serif}
body.tc-on .tc-dlg-body td,body.tc-on .tc-dlg-body th{border-bottom-color:#808080}
body.tc-on .tc-dlg-body input[type=number]{background:#fff;border-radius:0;border:1px solid #808080}
body.tc-on .tc-lb h4{color:#000}
body.tc-on .tc-lb li{border-bottom-color:#808080}
body.tc-on .tc-body :is(.sw-keys,.rv-keys,.mj-keys){color:#222}
