/* UTANOBA Typography 5.1 - readability first */
:root{
  --ut-font-ui:"Noto Sans JP","Hiragino Sans","Yu Gothic UI","Yu Gothic",Meiryo,sans-serif;
  --ut-font-display:"Noto Serif JP","Hiragino Mincho ProN","Yu Mincho","YuMincho",serif;
  --ut-text:#242126;
  --ut-muted:#6d6870;
}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{
  font-family:var(--ut-font-ui)!important;
  font-size:15px;
  line-height:1.78;
  letter-spacing:.008em!important;
  color:var(--ut-text);
  font-feature-settings:"palt" 0!important;
}
body p,body li,body label,body small{font-feature-settings:"palt" 0!important}
input,select,textarea,button{font-family:var(--ut-font-ui)!important;letter-spacing:.005em!important}

/* Display type: use a cleaner Japanese serif only where it adds hierarchy. */
h1,h2,h3,.ut-handline,.ut4-script,.ut4-subhero h1,.ut4-campaign-story h2,.ut4-collab-hero h1,.work-top h1,.page-head h1{
  font-family:var(--ut-font-display)!important;
  font-weight:700!important;
  letter-spacing:.005em!important;
}
h1{line-height:1.35!important}
h2,h3{line-height:1.5!important}

/* Navigation / controls */
.desktop-nav a,.desktop-actions a{font-size:13px!important;font-weight:600!important;letter-spacing:0!important}
.btn,.ut-btn,.work-actions button,.work-actions a{font-size:13px!important;letter-spacing:0!important}
.meta,.card-foot,.work-actions{font-family:var(--ut-font-ui)!important}

/* Cards: keep titles elegant but summaries easy to scan. */
.ut-lyric-card h3,.ut-rec-card strong,.ut-rank-copy strong,.ut5-work-card h3{font-family:var(--ut-font-display)!important;font-weight:700!important}
.ut-card-body p,.ut4-prompt-body p,.ut4-collab-body p,.ut4-writer-card p,.ut5-work-card>p{
  font-family:var(--ut-font-ui)!important;
  font-size:13px!important;
  line-height:1.85!important;
  letter-spacing:0!important;
  color:#625d65!important;
}

/* Submission editor: input text must be easy to write and proofread. */
.editor textarea{
  font-family:var(--ut-font-ui)!important;
  font-size:17px!important;
  line-height:2!important;
  letter-spacing:.005em!important;
  font-weight:400!important;
}
.editor input,.editor select,.editor label{font-size:14px!important}

/* Work detail */
.work-layout{max-width:1180px!important;gap:28px!important}
.work-main{min-width:0}
.work-top h1{
  font-family:var(--ut-font-display)!important;
  font-size:clamp(40px,3.6vw,54px)!important;
  line-height:1.35!important;
  letter-spacing:0!important;
}
.work-top>a,.work-top .meta{font-family:var(--ut-font-ui)!important;font-size:13px!important}
.lyrics{
  font-family:var(--ut-font-ui)!important;
  font-size:20px!important;
  line-height:2.05!important;
  letter-spacing:.008em!important;
  font-weight:400!important;
  color:#252228!important;
  font-feature-settings:"palt" 0!important;
  text-rendering:optimizeLegibility;
}
.comments h2,.favorite-lines h2,.side-card h3{font-family:var(--ut-font-ui)!important;font-weight:700!important;letter-spacing:0!important}
.comment,.comment p,.side-card,.side-card p{font-family:var(--ut-font-ui)!important;font-size:14px!important;line-height:1.85!important;letter-spacing:0!important}
.comment-form select,.comment-form textarea{font-size:14px!important}
.comment-form textarea{line-height:1.8!important}
.work-actions{font-size:13px!important}

/* Tiny labels were too small on full-page desktop captures. */
.sample-badge,.ut-sample-chip{font-size:10px!important;letter-spacing:.03em!important}
.site-header .brand-text small{font-size:8px!important;letter-spacing:.04em!important}

@media(min-width:821px){
  .work-main{max-width:800px}
  .side{min-width:260px}
}
@media(max-width:820px){
  body{font-size:14.5px;line-height:1.75}
  .desktop-nav a,.desktop-actions a{font-size:12px!important}
  .work-top h1{font-size:32px!important}
  .lyrics{font-size:17.5px!important;line-height:2!important;letter-spacing:0!important}
  .editor textarea{font-size:16.5px!important;line-height:1.95!important}
  .ut-card-body p,.ut4-prompt-body p,.ut4-collab-body p,.ut4-writer-card p,.ut5-work-card>p{font-size:12.5px!important}
}
