:root{
  --bg:#f5f7ff;
  --ink:#303557;
  --muted:#7b829e;
  --violet:#6756d8;
  --line:#e5e8f3;
  --mint:#2d9e7c;
  --yellow:#f8d981
}
*{
  box-sizing:border-box
}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:ui-rounded,"Hiragino Maru Gothic ProN","Yu Gothic",Meiryo,system-ui,sans-serif
}
button{
  font:inherit;
  cursor:pointer
}
button:focus-visible{
  outline:3px solid #625bc2;
  outline-offset:2px
}
.app{
  max-width:1260px;
  height:100dvh;
  min-height:620px;
  margin:auto;
  padding:12px 18px;
  display:grid;
  grid-template-rows:auto auto auto minmax(0,1fr) auto;
  gap:10px
}
.header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  min-height:49px
}
.brand{
  display:flex;
  gap:10px;
  align-items:center;
  min-width:0
}
.brand-icon{
  width:43px;
  height:43px;
  border-radius:14px;
  background:#ffdf80;
  display:grid;
  place-items:center;
  font-size:24px;
  flex:none;
  box-shadow:0 3px 0 #f1ce67
}
h1{
  font-size:22px;
  line-height:1.1;
  margin:0;
  letter-spacing:.015em
}
.subtitle{
  font-size:11px;
  color:var(--muted);
  margin-top:4px;
  font-weight:750
}
.header-status{
  display:flex;
  align-items:center;
  gap:8px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:99px;
  padding:7px 13px;
  font-weight:850;
  font-size:12px;
  white-space:nowrap
}
.status-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background:#c3c8d8
}
.running .status-dot{
  background:#39b58a;
  box-shadow:0 0 0 4px #39b58a1e
}
.paused .status-dot{
  background:#e7b654
}
.options{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  background:#fff;
  border:1px solid var(--line);
  padding:9px 12px;
  border-radius:16px
}
.option-group{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap
}
.option-name{
  font-weight:900;
  color:#6a7191;
  font-size:11px;
  white-space:nowrap;
  margin-right:2px
}
.option-group button,.guide-toggle{
  border:1px solid #e4e6f2;
  border-radius:9px;
  background:#fafbff;
  color:#717997;
  font-size:12px;
  font-weight:900;
  padding:8px 12px;
  line-height:1;
  white-space:nowrap
}
.option-group button[aria-pressed=true]{
  color:#574aba;
  background:#f0edff;
  border-color:#bdb5f5
}
.length-group button[aria-pressed=true]{
  color:#237757;
  background:#e6f8ee;
  border-color:#99ddbb
}
.options-spacer{
  flex:1
}
.guide-toggle{
  color:#685eb4;
  background:#f8f6ff
}
.main{
  display:grid;
  grid-template-columns:minmax(0,1.16fr) minmax(350px,.84fr);
  min-height:0;
  gap:12px
}
.card{
  min-width:0;
  min-height:0;
  border:1px solid var(--line);
  border-radius:21px;
  background:#fff;
  box-shadow:0 7px 28px #363b8009
}
.practice{
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:9px;
  position:relative;
  overflow:hidden
}
.progress-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  color:#6c7391;
  font-size:12px;
  font-weight:900
}
.progress-head strong{
  color:var(--violet);
  font-size:14px;
  font-variant-numeric:tabular-nums
}
.progress{
  height:10px;
  flex:none;
  background:#efeffa;
  border-radius:99px;
  overflow:hidden
}
.progress-bar{
  width:0;
  height:100%;
  background:linear-gradient(90deg,#82dbc1,#8da1f3);
  border-radius:99px;
  transition:width .12s
}
.badge-line{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  background:#fffaea;
  color:#80631f;
  padding:7px 11px;
  border-radius:11px;
  font-weight:900;
  font-size:11px;
  white-space:nowrap
}
.target-area{
  flex:1;
  min-height:150px;
  position:relative;
  background:linear-gradient(140deg,#f9f8ff,#edf6ff);
  border:2px dashed #dfe1f9;
  border-radius:20px;
  display:flex;
  justify-content:center;
  align-items:center;
  flex-direction:column;
  overflow:hidden;
  isolation:isolate
}
.kana{
  font-size:clamp(100px,15vh,155px);
  font-weight:950;
  color:#5450b4;
  line-height:1.05;
  text-shadow:0 5px 0 #e3e0ff
}
.roman{
  font-size:clamp(25px,4vh,32px);
  color:#7770bf;
  font-weight:950;
  line-height:1.25;
  margin-top:5px;
  min-height:33px
}
.roman.hide{
  visibility:hidden
}
.toast{
  position:absolute;
  z-index:3;
  top:8px;
  left:50%;
  transform:translate(-50%,-12px) scale(.94);
  pointer-events:none;
  opacity:0;
  white-space:nowrap;
  background:#fff0b2;
  border:2px solid #efd078;
  color:#825f17;
  box-shadow:0 5px 0 #f1d789;
  border-radius:999px;
  font-size:clamp(14px,2vw,19px);
  font-weight:950;
  padding:8px 16px;
  transition:opacity .16s,transform .16s
}
.toast.visible{
  opacity:1;
  transform:translate(-50%,0) scale(1);
  animation:pop .34s ease-out
}
@keyframes pop{
  0%{
    transform:translate(-50%,-12px) scale(.75)
  }
  75%{
    transform:translate(-50%,2px) scale(1.06)
  }
  100%{
    transform:translate(-50%,0) scale(1)
  }
}
.target-area.celebrate:after{
  content:'⭐   ✨   ⭐   ✨   ⭐';
  position:absolute;
  bottom:15px;
  text-align:center;
  font-size:25px;
  letter-spacing:9px;
  pointer-events:none;
  color:#e0ad3b;
  animation:glitter 2s ease-out forwards
}
@keyframes glitter{
  0%{
    opacity:0;
    transform:translateY(18px)
  }
  25%{
    opacity:1
  }
  100%{
    opacity:0;
    transform:translateY(-45px)
  }
}
.feedback{
  text-align:center;
  min-height:23px;
  font-size:13px;
  line-height:1.5;
  font-weight:900;
  color:#6b7191
}
.feedback.good{
  color:#229879
}
.feedback.bad{
  color:#cd744c
}
.keyboard-title{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  font-size:11px;
  font-weight:900;
  color:#717994
}
.key-focus{
  color:#6756bd
}
.keyboard{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:8px 9px;
  background:#f3f4fa;
  border:1px solid #e7e8f1;
  border-radius:14px
}
.key-row{
  display:flex;
  gap:5px;
  justify-content:center
}
.key-row:nth-child(2){
  padding-inline:4%
}
.key-row:nth-child(3){
  padding-inline:12%
}
.kb-key{
  flex:1;
  max-width:53px;
  height:31px;
  min-width:0;
  border:1px solid #dfe2ed;
  border-bottom:3px solid #d8dce8;
  border-radius:6px;
  background:#fff;
  color:#a8adc2;
  display:grid;
  place-items:center;
  font-size:13px;
  font-weight:900;
  line-height:1;
  user-select:none
}
.kb-key.vowel{
  background:#f1edff;
  color:#6960a8;
  border-color:#ded6ff;
  border-bottom-color:#c9bdf7
}
.kb-key.current{
  background:#ffe6a0;
  color:#76510f;
  border-color:#e7b44b;
  border-bottom-color:#d9a22f;
  box-shadow:0 0 0 2px #f5d56f44;
  transform:translateY(-1px)
}
.kb-key.pressed{
  background:#adedd6;
  color:#1b8058
}
.controls{
  display:flex;
  gap:8px;
  align-items:center
}
.primary{
  flex:1;
  min-width:0;
  padding:10px 14px;
  border-radius:11px;
  background:#7162df;
  border:0;
  box-shadow:0 3px 0 #5144b4;
  color:white;
  font-size:14px;
  font-weight:950
}
.secondary{
  background:#f8f9ff;
  border:1px solid #dfe2f2;
  color:#686f90;
  border-radius:11px;
  padding:10px 12px;
  font-size:12px;
  font-weight:850
}
.secondary:disabled{
  opacity:.42;
  cursor:default
}
.right{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-height:0
}
.speed-panel{
  padding:15px 16px;
  flex:none
}
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  margin:0 0 10px
}
.section-head h2{
  margin:0;
  font-size:15px;
  font-weight:950
}
.section-head small{
  font-size:10px;
  color:#8c93aa;
  font-weight:800;
  white-space:nowrap
}
.speed-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px
}
.speed-box{
  min-width:0;
  background:#f4f3ff;
  border:1px solid #e3dffc;
  padding:12px 8px;
  border-radius:14px;
  text-align:center
}
.speed-box.recent{
  background:#effbf5;
  border-color:#d2eede
}
.speed-box .name{
  font-size:11px;
  color:#79739f;
  font-weight:900;
  white-space:nowrap
}
.speed-box.recent .name{
  color:#3b9576
}
.value{
  font-size:clamp(26px,3.8vw,38px);
  line-height:1.15;
  font-weight:950;
  color:#594dc1;
  font-variant-numeric:tabular-nums;
  letter-spacing:-.035em;
  padding:4px 0
}
.speed-box.recent .value{
  color:#268866
}
.unit{
  font-size:10px;
  color:#8186a1;
  font-weight:850
}
.tiny-help{
  margin-top:8px;
  color:#8b91a6;
  font-weight:750;
  font-size:10px;
  text-align:center;
  line-height:1.4
}
.meta{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:6px
}
.meta .cell{
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  padding:8px 3px;
  text-align:center;
  min-width:0
}
.meta strong{
  font-size:18px;
  line-height:1.25;
  font-weight:950;
  color:#5a559b;
  font-variant-numeric:tabular-nums;
  display:block
}
.meta span{
  display:block;
  color:#8b93a8;
  font-size:10px;
  font-weight:850;
  margin-top:3px
}
.history{
  padding:13px 15px;
  flex:1;
  min-height:0;
  display:flex;
  flex-direction:column;
  overflow:hidden
}
.history-title{
  margin-bottom:6px
}
.history-note{
  font-size:10px;
  color:#8c94aa;
  font-weight:800;
  margin-top:-3px
}
.trend{
  font-size:11px;
  font-weight:900;
  color:#5e6492;
  min-height:28px;
  display:flex;
  align-items:center
}
.chart-wrap{
  flex:1;
  min-height:70px;
  max-height:140px;
  background:#fbfcff;
  border:1px solid #eef0f9;
  border-radius:11px;
  position:relative;
  overflow:hidden
}
.chart-wrap svg{
  display:block;
  width:100%;
  height:100%
}
.chart-empty{
  height:100%;
  display:grid;
  place-items:center;
  text-align:center;
  color:#979eb7;
  font-size:12px;
  font-weight:850;
  padding:8px
}
.history-list{
  display:flex;
  flex-direction:column;
  gap:3px;
  padding-top:8px;
  min-height:75px;
  max-height:118px;
  overflow:auto
}
.history-row{
  display:grid;
  grid-template-columns:90px minmax(0,1fr) 72px;
  align-items:center;
  gap:4px;
  padding:5px 7px;
  border-radius:8px;
  background:#f8f9ff;
  color:#7a829d;
  font-size:11px;
  font-weight:850;
  white-space:nowrap
}
.history-row b{
  font-size:12px;
  color:#554bbb;
  text-align:right;
  font-variant-numeric:tabular-nums
}
.history-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  margin-top:8px;
  color:#9aa0b3;
  font-size:10px;
  font-weight:800
}
.clear{
  font-size:10px;
  background:transparent;
  border:0;
  color:#939aae;
  padding:2px 5px;
  text-decoration:underline
}
.footer{
  font-size:11px;
  font-weight:800;
  color:#838aa4;
  text-align:center;
  min-height:14px;
  line-height:1.3
}
.mobile-entry{
  display:none
}
@media(max-height:790px) and (min-width:801px){
  .app{
    gap:8px;
    padding-block:9px
  }
  .options{
    padding-block:7px
  }
  .practice{
    padding:12px;
    gap:7px
  }
  .keyboard{
    padding:7px 8px
  }
  .kb-key{
    height:27px
  }
  .speed-panel{
    padding:11px 13px
  }
  .right{
    gap:8px
  }
  .speed-box{
    padding:8px
  }
  .history{
    padding:10px 12px
  }
  .history-list{
    max-height:93px;
    min-height:48px;
    padding-top:5px
  }
  .target-area{
    min-height:130px
  }
}
@media(max-height:690px) and (min-width:801px){
  .app{
    min-height:0
  }
  .header{
    min-height:38px
  }
  .brand-icon{
    width:36px;
    height:36px
  }
  .subtitle{
    display:none
  }
  .target-area{
    min-height:115px
  }
  .kana{
    font-size:clamp(70px,14vh,115px)
  }
  .keyboard-title{
    display:none
  }
  .kb-key{
    height:23px
  }
  .speed-box .value{
    font-size:26px
  }
  .history-list{
    max-height:65px
  }
  .tiny-help{
    display:none
  }
}
@media(max-width:800px){
  .app{
    display:flex;
    flex-direction:column;
    height:auto;
    min-height:100dvh;
    padding:12px;
    gap:10px
  }
  .main{
    display:flex;
    flex-direction:column
  }
  .practice{
    min-height:545px
  }
  .target-area{
    min-height:190px
  }
  .right{
    min-height:auto
  }
  .history{
    min-height:290px
  }
  .chart-wrap{
    min-height:120px
  }
  .options-spacer{
    display:none
  }
}
@media(max-width:480px){
  h1{
    font-size:18px
  }
  .header-status{
    font-size:10px;
    padding:7px 9px
  }
  .subtitle{
    font-size:10px
  }
  .brand-icon{
    width:38px;
    height:38px
  }
  .options{
    gap:8px
  }
  .option-group{
    width:100%;
    justify-content:space-between
  }
  .option-group button{
    padding:8px;
    font-size:11px
  }
  .option-name{
    font-size:10px
  }
  .guide-toggle{
    margin-left:auto
  }
  .practice{
    min-height:505px
  }
  .kana{
    font-size:108px
  }
  .keyboard{
    padding:6px
  }
  .key-row{
    gap:3px
  }
  .kb-key{
    height:29px;
    font-size:12px
  }
  .keyboard-title{
    font-size:10px
  }
  .controls{
    flex-wrap:wrap
  }
  .primary{
    flex-basis:55%
  }
  .mobile-entry{
    display:block;
    width:100%;
    font:inherit;
    font-size:16px;
    text-align:center;
    border:1px solid #dfe0ee;
    border-radius:10px;
    padding:10px
  }
  .history-row{
    grid-template-columns:84px minmax(0,1fr) 65px
  }
}
@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{
    animation-duration:.01ms!important;
    transition-duration:.01ms!important
  }
}
/* Ten-row picker: a compact strip so the entire exercise fits a laptop screen. */
.row-selector{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
  border:1px solid var(--line);
  background:#fff;
  border-radius:15px;
  padding:7px 11px
}
.row-selector-label{
  color:#75799a;
  font-size:11px;
  font-weight:950;
  white-space:nowrap
}
.row-chips{
  display:grid;
  grid-template-columns:repeat(10,minmax(0,1fr));
  gap:6px;
  flex:1;
  min-width:0
}
.row-chips button{
  min-width:0;
  background:#f9faff;
  border:1px solid #e5e5f3;
  border-radius:9px;
  color:#737b96;
  font-size:12px;
  font-weight:950;
  padding:7px 2px;
  white-space:nowrap
}
.row-chips button[aria-pressed=true]{
  background:#fff1c8;
  border-color:#e7c579;
  color:#805e1b;
  box-shadow:0 2px 0 #ecd291
}
.roman .done{
  color:#2ca47f
}
.roman .next{
  color:#5950bb
}
.roman .other{
  color:#9497bb
}
.kb-key.used{
  background:#e2faec;
  color:#258b63;
  border-color:#b1e6cb
}
@media(max-height:790px) and (min-width:801px){
  .row-selector{
    padding-block:5px
  }
  .row-chips button{
    padding-block:6px
  }
  .app{
    gap:7px
  }
  .options{
    padding-block:6px
  }
  .practice{
    gap:6px
  }
  .target-area{
    min-height:115px
  }
}
@media(max-height:690px) and (min-width:801px){
  .row-selector{
    padding-block:3px
  }
  .row-chips button{
    padding-block:5px
  }
  .app{
    gap:5px
  }
  .options{
    padding-block:5px
  }
  .history-list{
    min-height:32px;
    max-height:52px
  }
  .speed-box{
    padding:6px
  }
}
@media(max-width:800px){
  .row-selector{
    display:block;
    padding:9px
  }
  .row-selector-label{
    display:block;
    margin:0 0 7px
  }
  .row-chips{
    grid-template-columns:repeat(5,minmax(0,1fr))
  }
}
@media(max-width:480px){
  .row-chips{
    gap:5px
  }
  .row-chips button{
    padding:8px 2px;
    font-size:12px
  }
}
.players{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap
}
.players select,.players input{
  font:inherit;
  font-size:12px;
  padding:6px;
  border:1px solid #dfe2f2;
  border-radius:8px;
  max-width:140px
}
.players button{
  padding:6px;
  font-size:11px
}
.player-name{
  width:110px
}
.mode-help{
  flex-basis:100%;
  font-size:11px;
  color:#626988
}
.family{
  font-size:11px;
  color:#626988;
  margin-top:5px;
  max-height:65px;
  overflow:auto
}
.family div{
  padding:3px
}
.app{
  grid-template-rows:auto auto auto auto minmax(0,1fr) auto
}
.chart-wrap{
  min-height:90px
}
.header .subtitle{
  display:block
}
@media(max-width:800px){
  .app{
    display:flex
  }
}
@media(max-height:790px) and (min-width:801px){
  .header{
    min-height:40px
  }
  .players{
    gap:4px
  }
  .family{
    max-height:45px
  }
  .history-list{
    max-height:55px;
    min-height:25px
  }
  .practice{
    gap:5px
  }
  .target-area{
    min-height:95px
  }
}
/* Content determines height: smaller windows scroll rather than clip controls. */
.app{
  height:auto;
  min-height:100dvh;
  grid-template-rows:repeat(6,auto);
  gap:8px;
  padding:10px 14px;
  align-content:start
}
.main{
  display:grid;
  min-height:0;
  align-items:stretch;
  grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr)
}
.practice{
  min-height:0;
  overflow:visible;
  padding:12px;
  gap:7px
}
.target-area{
  flex:none;
  min-height:120px;
  height:clamp(120px,20vh,185px);
  flex-direction:row;
  gap:28px;
  padding:10px;
  overflow:visible
}
.kana{
  font-size:clamp(64px,12vh,100px);
  line-height:1.1
}
.roman{
  font-size:30px;
  margin:0;
  min-height:0;
  line-height:1.5
}
.toast{
  top:0;
  font-size:14px;
  padding:5px 10px
}
.target-area.celebrate:after{
  font-size:17px;
  bottom:0
}
.keyboard{
  padding:6px
}
.kb-key{
  height:26px
}
.speed-panel{
  padding:12px
}
.speed-box{
  padding:8px
}
.value{
  font-size:30px
}
.right{
  gap:8px
}
.meta .cell{
  padding:6px 3px
}
.history{
  padding:12px;
  overflow:visible;
  flex:none;
  gap:6px
}
.section-head{
  margin-bottom:5px
}
.history .secondary{
  align-self:flex-end;
  padding:7px 12px
}
.record-note{
  font-size:11px;
  color:#747b96;
  line-height:1.5;
  margin:3px 0
}
.footer{
  font-size:10px
}
.subtitle{
  font-size:10px
}
.header{
  min-height:40px
}
.brand-icon{
  width:36px;
  height:36px
}
h1{
  font-size:20px
}
.player-settings{
  position:relative;
  font-size:12px
}
.player-settings summary{
  cursor:pointer;
  padding:6px 10px;
  border:1px solid #dfe2f2;
  border-radius:8px;
  background:white
}
.settings-body{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  padding:8px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  margin-top:5px
}
.players:has(details[open]){
  align-items:flex-start
}
.player-settings[open]{
  flex:1
}
.players select{
  max-width:180px
}
.rank-table{
  border-collapse:collapse;
  width:100%;
  font-size:12px;
  table-layout:fixed
}
.rank-table th,.rank-table td{
  padding:7px 4px;
  border-bottom:1px solid #e8e9f3;
  text-align:center;
  vertical-align:top
}
.rank-table thead{
  background:#f4f3ff
}
.rank-table th:first-child{
  width:44px
}
.rank-table td{
  font-variant-numeric:tabular-nums;
  color:#554bbb;
  font-weight:850
}
.rank-table small{
  display:block;
  font-size:10px;
  line-height:1.6;
  color:#7b829e;
  font-weight:400;
  overflow-wrap:anywhere
}
dialog{
  border:1px solid #dfddf4;
  border-radius:18px;
  padding:18px;
  width:min(900px,94vw);
  max-height:88dvh;
  color:var(--ink);
  background:#fff;
  overflow:auto
}
dialog::backdrop{
  background:#25244366
}
.detail-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  position:sticky;
  top:-18px;
  padding:8px 0;
  background:white;
  z-index:2
}
.detail-head h2{
  font-size:18px;
  margin:0
}
dialog h3{
  font-size:15px
}
dialog .chart-wrap{
  height:180px;
  min-height:180px;
  max-height:none;
  margin-top:8px
}
dialog label,dialog select{
  font:inherit;
  font-size:12px
}
dialog details{
  margin-top:15px;
  font-size:12px
}
#otherRecords{
  max-height:230px;
  overflow:auto
}
#otherRecords div{
  padding:7px;
  border-bottom:1px solid var(--line)
}
body:has(dialog[open]){
  overflow:hidden
}
@media(max-width:850px){
  .main{
    grid-template-columns:1fr minmax(275px,.85fr)
  }
  .options{
    gap:7px
  }
  .option-group button{
    padding:7px 9px
  }
  .target-area{
    gap:16px
  }
  .section-head small{
    white-space:normal
  }
  .header-status{
    font-size:10px
  }
  .speed-box .name{
    font-size:10px
  }
}
@media(max-height:700px) and (min-width:701px){
  .app{
    gap:6px;
    padding:7px 12px
  }
  .header{
    min-height:32px
  }
  .subtitle{
    display:none!important
  }
  .brand-icon{
    width:30px;
    height:30px
  }
  .row-selector{
    padding:4px 9px
  }
  .row-chips button{
    padding:5px 2px
  }
  .options{
    padding:6px 9px
  }
  .mode-help{
    font-size:10px
  }
  .practice{
    padding:9px;
    gap:5px
  }
  .target-area{
    height:105px;
    min-height:105px
  }
  .kana{
    font-size:72px
  }
  .roman{
    font-size:26px
  }
  .keyboard-title{
    display:none
  }
  .kb-key{
    height:23px
  }
  .keyboard{
    padding:5px
  }
  .primary,.secondary{
    padding:8px 10px
  }
  .speed-panel{
    padding:9px
  }
  .tiny-help{
    display:none
  }
  .speed-box{
    padding:6px
  }
  .value{
    font-size:26px
  }
  .history{
    padding:9px
  }
  .rank-table th,.rank-table td{
    padding:5px 3px
  }
  .meta strong{
    font-size:16px
  }
}
@media(max-width:700px){
  .app{
    display:flex;
    min-height:100dvh
  }
  .main{
    display:flex;
    flex-direction:column
  }
  .practice{
    min-height:0
  }
  .target-area{
    height:145px;
    min-height:145px
  }
  .kana{
    font-size:90px
  }
  .right{
    min-height:0
  }
  .history{
    min-height:0
  }
  .option-group{
    width:auto;
    justify-content:flex-start
  }
  .row-chips{
    grid-template-columns:repeat(5,minmax(0,1fr))
  }
  .header{
    flex-wrap:wrap
  }
  .subtitle{
    max-width:260px
  }
  .mobile-entry{
    display:block;
    width:100%;
    font:inherit;
    font-size:16px;
    padding:8px;
    border:1px solid var(--line);
    border-radius:8px
  }
  .rank-table{
    font-size:12px
  }
}
/* Auto margins center a fitting app and become zero when scrolling is needed. */
html{
  min-height:100%;
  scroll-padding-block:12px
}
body{
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  flex-direction:column
}
.app{
  flex:none;
  width:100%;
  max-width:1260px;
  height:auto;
  min-height:0;
  margin:auto;
  padding:clamp(8px,1.4vw,20px);
  padding-bottom:max(10px,env(safe-area-inset-bottom));
  align-content:start
}
.players,.options,.row-selector,.header,.controls{
  min-width:0
}
.players select{
  max-width:min(180px,45vw)
}
.settings-body input{
  max-width:100%
}
@media(min-width:1000px) and (min-height:800px){
  .app{
    gap:12px
  }
  .practice{
    padding:16px;
    gap:10px
  }
  .target-area{
    height:clamp(180px,21dvh,240px)
  }
  .kana{
    font-size:clamp(100px,11dvh,132px)
  }
  .roman{
    font-size:clamp(30px,3.5dvh,40px)
  }
  .kb-key{
    height:clamp(30px,3.5dvh,40px)
  }
  .keyboard{
    padding:9px
  }
  .speed-panel,.history{
    padding:16px
  }
  .right{
    gap:12px
  }
  .speed-box{
    padding:12px
  }
  .value{
    font-size:36px
  }
  .rank-table th,.rank-table td{
    padding:10px 5px
  }
}
@media(max-width:760px){
  .app{
    display:flex;
    flex-direction:column;
    gap:8px
  }
  .main{
    display:flex;
    flex-direction:column
  }
  .row-selector{
    display:block;
    padding:8px
  }
  .row-selector-label{
    display:block;
    margin-bottom:6px
  }
  .row-chips{
    grid-template-columns:repeat(5,minmax(0,1fr))
  }
  .header{
    flex-wrap:wrap
  }
  .practice{
    min-height:0
  }
  .target-area{
    height:140px;
    min-height:140px
  }
  .kana{
    font-size:88px
  }
  .roman{
    font-size:28px
  }
  .right,.history{
    min-height:0
  }
  .options-spacer{
    display:none
  }
  .section-head small{
    white-space:normal
  }
}
@media(max-width:420px){
  h1{
    font-size:17px
  }
  .brand{
    gap:7px
  }
  .brand-icon{
    width:30px;
    height:30px
  }
  .subtitle{
    font-size:9px
  }
  .header-status{
    font-size:10px;
    padding:6px 9px
  }
  .target-area{
    gap:18px
  }
  .option-group{
    gap:5px
  }
  .option-group button,.guide-toggle{
    padding:8px 7px
  }
  .option-name{
    font-size:10px
  }
  .settings-body{
    align-items:flex-start
  }
  .primary{
    font-size:12px
  }
  .secondary{
    padding:8px;
    font-size:11px
  }
  .rank-table{
    font-size:11px
  }
}
/* Keep the per-lap clock beside the prompt in both wide and narrow windows. */
.target-area{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:clamp(8px,1.5vw,22px)
}
.prompt-pair{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(8px,1.4vw,20px)
}
.target-area .kana{
  font-size:clamp(56px,8vw,100px);
  line-height:1.05
}
.target-area .roman{
  font-size:clamp(22px,2.5vw,34px);
  white-space:nowrap
}
.lap-clock{
  min-width:112px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:3px;
  padding:8px 10px;
  border:1px solid #bddece;
  border-radius:12px;
  background:#effbf5;
  color:#247958;
  text-align:center
}
.lap-clock-label{
  font-size:10px;
  font-weight:850
}
.lap-clock strong{
  font-size:32px;
  font-variant-numeric:tabular-nums;
  line-height:1.15
}
.lap-clock strong span{
  font-size:12px;
  margin-left:2px
}
#lapState{
  font-size:10px;
  font-weight:900
}
#blockProgress{
  font-size:9px;
  color:#64738b
}
.lap-clock.timing{
  background:#fff4cf;
  border-color:#e7be48;
  color:#815b00
}
.target-area .toast{
  top:-8px;
  font-size:12px;
  padding:4px 10px
}
.primary{
  flex-basis:100%
}
@media(max-width:850px){
  .lap-clock{
    min-width:96px;
    padding:7px 6px
  }
  .lap-clock strong{
    font-size:28px
  }
  .lap-clock-label,#lapState{
    font-size:9px
  }
  .target-area .kana{
    font-size:64px
  }
  .target-area .roman{
    font-size:24px
  }
}
@media(max-height:700px) and (min-width:761px){
  .lap-clock{
    padding:5px 6px;
    gap:2px
  }
  .lap-clock strong{
    font-size:26px
  }
  .lap-clock-label,#lapState{
    font-size:9px
  }
}
@media(max-width:420px){
  .target-area{
    padding:8px;
    gap:8px
  }
  .prompt-pair{
    gap:8px
  }
  .target-area .kana{
    font-size:60px
  }
  .target-area .roman{
    font-size:22px
  }
  .lap-clock{
    min-width:88px;
    padding:7px 4px
  }
  .lap-clock strong{
    font-size:26px
  }
}
.record-actions{
  display:flex;
  justify-content:flex-end;
  gap:7px
}
.graph-controls{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  font-size:12px;
  margin:8px 0
}
.graph-controls label{
  display:flex;
  align-items:center;
  gap:5px
}
.graph-controls input{
  margin:0
}
.family-table th:first-child{
  width:70px
}
.family-table td{
  overflow-wrap:anywhere
}
.family-table th:nth-child(2){
  width:25%
}
dialog .chart-wrap{
  height:220px;
  min-height:220px
}
@media(min-width:761px) and (max-height:850px){
  .app{
    gap:6px;
    padding-block:7px
  }
  .header{
    min-height:30px
  }
  .brand-icon{
    width:30px;
    height:30px
  }
  .header .subtitle{
    display:none!important
  }
  .players{
    gap:5px
  }
  .row-selector{
    padding:4px 9px
  }
  .row-chips button{
    padding:5px 2px
  }
  .options{
    padding:6px 9px
  }
  .practice{
    padding:9px;
    gap:5px
  }
  .target-area{
    height:110px;
    min-height:110px
  }
  .target-area .kana{
    font-size:72px
  }
  .target-area .roman{
    font-size:26px
  }
  .lap-clock{
    padding:5px 6px;
    gap:2px
  }
  .lap-clock strong{
    font-size:26px
  }
  .keyboard{
    padding:5px
  }
  .kb-key{
    height:25px
  }
  .right{
    gap:6px
  }
  .speed-panel,.history{
    padding:9px
  }
  .speed-box{
    padding:6px
  }
  .value{
    font-size:27px
  }
  .rank-table th,.rank-table td{
    padding:5px 3px
  }
  .tiny-help{
    display:none
  }
  .meta .cell{
    padding:5px 3px
  }
  .primary,.secondary{
    padding:8px 10px
  }
  .rank-table small{
    line-height:1.3
  }
  .section-head h2{
    font-size:14px
  }
}
@media(max-width:420px){
  .family-table{
    font-size:10px
  }
  .family-table th:first-child{
    width:46px
  }
  .family-table th,.family-table td{
    padding:6px 2px
  }
}
@media(min-width:761px) and (max-height:850px){
  .mode-help{
    display:none
  }
}
/* The prompt and both clocks share one compact, responsive practice area. */
.main{
  grid-template-columns:minmax(0,1.5fr) minmax(270px,.85fr)
}
.practice{
  container-type:inline-size
}
.target-area{
  grid-template-columns:minmax(110px,1fr) minmax(210px,1.35fr);
  height:auto;
  min-height:124px;
  gap:12px;
  padding:10px
}
.timer-pair{
  min-width:0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  align-items:stretch
}
.lap-clock,.average-clock{
  min-width:0;
  padding:8px 6px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  text-align:center;
  border-radius:12px
}
.average-clock{
  border:1px solid #d5cff4;
  background:#f2efff;
  color:#5946b5
}
.average-clock strong{
  font-size:32px;
  font-variant-numeric:tabular-nums;
  line-height:1.15
}
.average-clock #totalUnit{
  font-size:10px;
  font-weight:850
}
.average-note{
  font-size:9px;
  color:#746c96
}
.timer-pair .lap-clock-label{
  font-size:10px
}
.lap-clock strong{
  font-size:32px
}
.target-area .prompt-pair{
  gap:10px
}
.target-area .kana{
  font-size:clamp(58px,7vw,100px)
}
.target-area .roman{
  font-size:clamp(20px,2.4vw,32px)
}
.right{
  justify-content:center
}
.right .history{
  flex:none
}
.record-actions{
  flex-wrap:wrap
}
.target-area .toast{
  top:-9px
}
@media(min-width:761px) and (max-height:850px){
  .target-area{
    min-height:110px
  }
  .lap-clock,.average-clock{
    padding:5px 4px;
    gap:3px
  }
  .lap-clock strong,.average-clock strong{
    font-size:27px
  }
  .timer-pair .lap-clock-label,#lapState{
    font-size:9px
  }
  .timer-pair #totalUnit{
    font-size:9px
  }
  .right{
    gap:7px
  }
}
@container(max-width:440px){
  .target-area{
    grid-template-columns:minmax(92px,1fr) minmax(168px,1.6fr);
    gap:8px;
    padding:8px
  }
  .target-area .kana{
    font-size:50px
  }
  .target-area .roman{
    font-size:18px
  }
  .target-area .prompt-pair{
    gap:6px
  }
  .timer-pair{
    gap:5px
  }
  .lap-clock,.average-clock{
    padding:6px 3px
  }
  .lap-clock strong,.average-clock strong{
    font-size:24px
  }
  .timer-pair .lap-clock-label,#lapState,.timer-pair #totalUnit{
    font-size:9px
  }
  .average-note,#blockProgress{
    font-size:8px
  }
}
@container(max-width:310px){
  .target-area{
    grid-template-columns:1fr;
    gap:10px;
    padding:12px
  }
  .target-area .kana{
    font-size:64px
  }
  .target-area .roman{
    font-size:24px
  }
  .timer-pair{
    gap:8px
  }
  .lap-clock,.average-clock{
    padding:8px
  }
  .lap-clock strong,.average-clock strong{
    font-size:28px
  }
}
@media(max-width:760px){
  .main{
    display:flex
  }
  .right{
    justify-content:flex-start
  }
  .target-area{
    height:auto;
    min-height:130px
  }
}
/* Give the prompt the space; clocks keep a fixed compact footprint. */
.main{
  grid-template-columns:minmax(0,1fr) clamp(240px,25vw,300px)
}
.meta{
  grid-template-columns:repeat(3,minmax(0,1fr))
}
.target-area{
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  min-height:124px;
  padding:10px 12px
}
.timer-pair{
  width:220px;
  max-width:100%;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
  align-self:center;
  justify-self:end
}
.timer-pair .lap-clock,.timer-pair .average-clock{
  min-width:0;
  padding:6px 5px;
  gap:3px;
  border-radius:10px;
  background:#f4faf7;
  border-color:#d3e5db
}
.timer-pair .average-clock{
  background:#f7f5fc;
  border-color:#e0dbf1
}
.timer-pair .lap-clock.timing{
  background:#fff4cf;
  border-color:#e7be48
}
.timer-pair .lap-clock strong,.timer-pair .average-clock strong{
  font-size:24px;
  line-height:1.1
}
.timer-pair .lap-clock-label{
  font-size:9px
}
.timer-pair #lapState{
  font-size:8px
}
.timer-pair #blockProgress{
  font-size:8px
}
.average-clock strong:after{
  content:'秒';
  font-size:11px;
  margin-left:2px
}
.average-clock #totalUnit,.average-clock .average-note{
  display:none
}
.target-area .prompt-pair{
  gap:18px
}
.target-area .kana{
  font-size:clamp(86px,12vh,124px)
}
.target-area .roman{
  font-size:clamp(28px,4vh,40px)
}
.target-area .toast{
  top:4px;
  font-size:16px;
  padding:6px 14px
}
.target-area.celebrate:after{
  font-size:22px;
  letter-spacing:7px;
  bottom:3px
}
.keyboard{
  padding:8px
}
.kb-key{
  height:30px;
  font-size:14px;
  border-bottom-width:3px
}
.kb-key.current{
  box-shadow:0 0 0 2px #edbd5055;
  background:#ffe39a;
  color:#67480b
}
.right{
  gap:8px
}
.right .history{
  padding:10px
}
.section-head{
  flex-wrap:wrap
}
.section-head small{
  white-space:normal
}
.record-actions .secondary{
  padding:7px 9px
}
@media(min-width:761px) and (max-height:700px){
  .target-area{
    min-height:110px;
    padding:8px 10px
  }
  .target-area .kana{
    font-size:82px
  }
  .target-area .roman{
    font-size:28px
  }
  .keyboard{
    padding:5px
  }
  .kb-key{
    height:24px;
    font-size:13px
  }
  .feedback{
    min-height:18px;
    font-size:11px
  }
  .badge-line{
    padding:5px 9px
  }
  .timer-pair{
    width:208px
  }
  .target-area .toast{
    font-size:14px;
    padding:4px 10px
  }
}
@container(max-width:470px){
  .timer-pair{
    width:184px;
    gap:5px
  }
  .timer-pair .lap-clock,.timer-pair .average-clock{
    padding:5px 3px
  }
  .timer-pair .lap-clock strong,.timer-pair .average-clock strong{
    font-size:22px
  }
  .target-area{
    gap:8px
  }
  .target-area .prompt-pair{
    gap:10px
  }
  .target-area .kana{
    font-size:80px
  }
  .target-area .roman{
    font-size:26px
  }
}
@container(max-width:390px){
  .target-area{
    grid-template-columns:1fr;
    gap:8px;
    padding:10px;
    min-height:0
  }
  .timer-pair{
    width:212px;
    justify-self:center
  }
  .target-area .kana{
    font-size:86px
  }
  .target-area .roman{
    font-size:30px
  }
  .target-area .toast{
    font-size:14px
  }
}
@media(max-width:760px){
  .main{
    display:flex
  }
  .right{
    gap:8px
  }
  .kb-key{
    height:30px
  }
  .target-area{
    height:auto
  }
}
.app{
  max-width:1760px;
  padding-inline:clamp(10px,1.5vw,24px)
}
.main{
  grid-template-columns:minmax(0,1fr) clamp(290px,27vw,380px);
  gap:14px
}
.meta{
  gap:8px
}
.meta .cell{
  padding:12px 6px;
  border-radius:14px;
  background:#fff
}
.meta strong{
  font-size:32px
}
.meta span{
  font-size:13px;
  margin-top:5px;
  color:#656d89
}
.timer-pair{
  width:260px;
  gap:8px
}
.timer-pair .lap-clock,.timer-pair .average-clock{
  padding:8px 6px;
  gap:5px
}
.timer-pair .lap-clock strong,.timer-pair .average-clock strong{
  font-size:30px
}
.timer-pair .lap-clock-label{
  font-size:12px
}
.timer-pair #lapState{
  font-size:11px
}
.timer-pair #blockProgress{
  font-size:10px
}
.average-clock strong:after{
  font-size:13px
}
.target-area{
  min-height:142px
}
.keyboard{
  padding:9px
}
.kb-key{
  height:clamp(30px,4vh,42px);
  font-size:15px
}
.players{
  gap:8px
}
.player-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  min-width:0
}
.players #mainPlayerButtons{
  flex:1
}
.player-choice{
  border:1px solid #dcddeb;
  background:#fff;
  color:#626b88;
  border-radius:10px;
  padding:8px 13px;
  font:inherit;
  font-size:13px;
  font-weight:800;
  overflow-wrap:anywhere;
  max-width:200px;
  cursor:pointer
}
.player-choice[aria-pressed=true]{
  background:#eee9ff;
  border-color:#a89ae7;
  color:#4f3cb0;
  box-shadow:inset 0 0 0 1px #a89ae7
}
.player-choice:focus-visible{
  outline:3px solid #6756d8;
  outline-offset:2px
}
#detailPlayerButtons{
  margin:10px 0 14px
}
.manager-list{
  display:flex;
  flex-direction:column;
  gap:10px
}
.manager-row{
  padding:12px;
  border:1px solid #e2e4ef;
  border-radius:12px;
  display:grid;
  grid-template-columns:minmax(90px,.65fr) minmax(120px,.8fr) minmax(0,2fr);
  gap:10px;
  align-items:center
}
.manager-person{
  font-weight:850;
  overflow-wrap:anywhere;
  font-size:14px
}
.manager-row input{
  font:inherit;
  width:100%;
  min-width:0;
  border:1px solid #dcddeb;
  border-radius:8px;
  padding:8px
}
.manager-actions{
  display:flex;
  flex-wrap:wrap;
  gap:6px
}
.manager-actions button{
  padding:8px;
  font-size:12px
}
.manager-bottom{
  position:sticky;
  bottom:-18px;
  background:#fff;
  padding:12px 0 6px;
  display:flex;
  flex-wrap:wrap;
  gap:8px
}
#playerManager{
  width:min(1100px,96vw)
}
#recordDialog{
  width:min(1100px,96vw)
}
@media(min-width:761px) and (max-height:700px){
  .meta .cell{
    padding:9px 4px
  }
  .meta strong{
    font-size:28px
  }
  .meta span{
    font-size:12px
  }
  .target-area{
    min-height:122px
  }
  .timer-pair{
    width:244px
  }
  .timer-pair .lap-clock strong,.timer-pair .average-clock strong{
    font-size:28px
  }
  .timer-pair .lap-clock-label{
    font-size:11px
  }
  .timer-pair #lapState{
    font-size:10px
  }
  .timer-pair #blockProgress{
    font-size:9px
  }
  .timer-pair .lap-clock,.timer-pair .average-clock{
    padding:6px 5px;
    gap:4px
  }
  .kb-key{
    height:26px
  }
  .player-choice{
    padding:6px 10px
  }
}
@container(max-width:510px){
  .timer-pair{
    width:230px
  }
  .timer-pair .lap-clock strong,.timer-pair .average-clock strong{
    font-size:28px
  }
  .timer-pair .lap-clock-label{
    font-size:11px
  }
  .timer-pair #lapState{
    font-size:10px
  }
  .timer-pair #blockProgress{
    font-size:9px
  }
  .target-area .kana{
    font-size:76px
  }
  .target-area .roman{
    font-size:26px
  }
}
@container(max-width:390px){
  .target-area{
    grid-template-columns:1fr
  }
  .timer-pair{
    width:250px;
    justify-self:center
  }
  .target-area .kana{
    font-size:86px
  }
}
@media(max-width:900px){
  .manager-row{
    grid-template-columns:minmax(90px,1fr) minmax(130px,2fr)
  }
  .manager-actions{
    grid-column:1/-1
  }
  .players #mainPlayerButtons{
    flex-basis:70%
  }
}
@media(max-width:760px){
  .main{
    display:flex
  }
  .meta .cell{
    padding:12px 5px
  }
  .meta strong{
    font-size:30px
  }
  .meta span{
    font-size:12px
  }
  .players #mainPlayerButtons{
    flex-basis:100%;
    order:2
  }
  .player-choice{
    padding:8px 12px
  }
  .players #managePlayersBtn{
    margin-left:auto
  }
  .manager-row{
    padding:10px
  }
  .manager-actions button{
    flex:1;
    min-width:110px
  }
}
.detail-row-picker{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin:10px 0;
  font-size:13px;
  font-weight:800
}
.detail-row-picker .player-buttons{
  flex:1
}
.detail-row-picker button{
  padding:7px 12px
}
.manager-actions button:disabled{
  opacity:.4;
  cursor:default
}
.finger-guide-action{
  display:flex;
  justify-content:flex-end;
  margin-bottom:-2px
}
.finger-guide-action button{
  font-size:11px;
  padding:5px 9px
}
#fingerDialog{
  width:min(790px,96vw);
  max-height:90dvh
}
.finger-lead{
  font-size:18px;
  font-weight:850;
  margin:9px 0;
  color:#5144a2
}
.finger-lead b{
  display:inline-block;
  background:#eee9ff;
  border:1px solid #cec4ef;
  border-radius:7px;
  padding:2px 10px
}
.finger-instruction{
  font-size:13px;
  line-height:1.7;
  margin:8px 0
}
.hands{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px
}
.hand-card{
  background:#f8f9fe;
  border:1px solid #e4e6f2;
  border-radius:14px;
  padding:10px
}
.hand-card h3{
  font-size:14px;
  margin:0 0 8px;
  text-align:center
}
.finger-hand{
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:5px
}
.finger-column{
  flex:1;
  max-width:62px;
  min-width:0;
  text-align:center
}
.finger-shape{
  border-radius:22px 22px 9px 9px;
  border:2px solid #ffffff;
  background:var(--finger-color);
  box-shadow:0 1px 3px #34345320;
  display:flex;
  align-items:center;
  justify-content:center;
  max-width:46px;
  margin:auto;
  color:#39405b
}
.finger-shape b{
  font-size:15px
}
.finger-column span{
  display:block;
  font-size:10px;
  font-weight:800;
  margin-top:5px;
  white-space:nowrap
}
.finger-section-title{
  font-size:15px;
  margin:14px 0 8px
}
.finger-keyboard{
  padding:10px;
  background:#f5f6fb;
  border-radius:12px
}
.finger-key-row{
  display:flex;
  justify-content:center;
  gap:6px;
  margin-bottom:5px
}
.finger-key-row:nth-child(2){
  padding-inline:3%
}
.finger-key-row:nth-child(3){
  padding-inline:8%
}
.finger-key{
  display:grid;
  place-items:center;
  flex:1;
  max-width:53px;
  height:33px;
  border:1px solid #fff;
  border-bottom:3px solid #a6aec080;
  border-radius:6px;
  color:#35425c;
  font-weight:900;
  font-size:14px
}
.finger-home{
  outline:2px solid #596078;
  outline-offset:-3px
}
.finger-space{
  margin:8px auto 0;
  max-width:300px;
  text-align:center;
  background:#e2e4eb;
  border:1px solid #cdd1df;
  border-bottom:3px solid #b9c0d1;
  border-radius:7px;
  padding:7px;
  font-size:12px;
  font-weight:800
}
.finger-tips{
  font-size:13px;
  line-height:1.9;
  padding-left:23px;
  margin:12px 0
}
@media(max-width:480px){
  .hands{
    gap:6px
  }
  .hand-card{
    padding:8px 4px
  }
  .finger-hand{
    gap:2px
  }
  .finger-column span{
    font-size:8px
  }
  .finger-shape b{
    font-size:11px
  }
  .finger-key-row{
    gap:3px
  }
  .finger-key{
    font-size:12px;
    height:30px
  }
  .finger-lead{
    font-size:16px
  }
}
#mobileNotice{
  width:min(520px,90vw);
  max-height:85dvh;
  padding:26px 24px 18px;
  background:#f4f4f4;
  border:1px solid #c7c7c7;
  border-radius:14px;
  box-shadow:0 10px 50px #0003;
  text-align:center;
  color:#454545
}
#mobileNotice::backdrop{
  background:#0009
}
#mobileNotice h2{
  font-size:20px;
  line-height:1.5;
  margin:0 0 14px
}
#mobileNotice p{
  font-size:17px;
  line-height:1.9;
  margin:0
}
#mobileNoticeOK{
  display:block;
  min-width:100px;
  min-height:46px;
  margin:20px auto 0;
  padding:8px 24px;
  font-size:20px;
  font-weight:850;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#137cd0
}
#mobileNoticeOK:hover{
  background:#e2ecf6
}
#mobileNoticeOK:focus-visible{
  outline:3px solid #137cd0;
  outline-offset:2px
}
@media(max-width:360px){
  #mobileNotice{
    padding:20px 16px 14px
  }
  #mobileNotice p{
    font-size:16px
  }
  #mobileNotice h2{
    font-size:18px
  }
}
/* Static guide colors and finger sizes; no inline style attributes. */
.fixed-style-1{
  color:#6756d8
}
.fixed-style-2{
  color:#168469
}
.fixed-style-3{
  --finger-color:#eac3e3;
  height:84px
}
.fixed-style-4{
  --finger-color:#f6d291;
  height:110px
}
.fixed-style-5{
  --finger-color:#b8ddf0;
  height:124px
}
.fixed-style-6{
  --finger-color:#bfe5be;
  height:112px
}
.fixed-style-7{
  --finger-color:#e2e4eb;
  height:65px
}
.fixed-style-8{
  --finger-color:#c5d0f6;
  height:112px
}
.fixed-style-9{
  --finger-color:#aee3db;
  height:124px
}
.fixed-style-10{
  --finger-color:#f3c6ac;
  height:110px
}
.fixed-style-11{
  --finger-color:#ecc7ca;
  height:84px
}
.fixed-style-12{
  background:#eac3e3
}
.fixed-style-13{
  background:#f6d291
}
.fixed-style-14{
  background:#b8ddf0
}
.fixed-style-15{
  background:#bfe5be
}
.fixed-style-16{
  background:#c5d0f6
}
.fixed-style-17{
  background:#aee3db
}
.fixed-style-18{
  background:#f3c6ac
}
.fixed-style-19{
  background:#ecc7ca
}
.privacy-note{
  display:block;
  font-size:10px;
  color:#747b96;
  margin-top:3px
}
