@layer stone-city {
html[data-hub-theme] .app-shell .topbar .hub-log-action {
  display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:44px;white-space:nowrap;
}
html[data-hub-theme] .app-shell .hub-daily-saved-status,
html[data-hub-theme] .hub-daily-receipt {display:grid;gap:.22rem;line-height:1.35}
html[data-hub-theme] .app-shell .hub-daily-saved-status strong,
html[data-hub-theme] .hub-daily-receipt strong {font-weight:650;color:var(--sc-text,#faf5ec)!important}
html[data-hub-theme] .app-shell .hub-daily-saved-status small,
html[data-hub-theme] .hub-daily-receipt small {font-size:.78rem;color:var(--sc-sub,#e1d9cc)!important}
html[data-hub-theme] .hub-daily-receipt a {color:var(--sc-gold-light,#f7dfab)!important;text-decoration:underline;text-underline-offset:3px;padding:4px 0}
html[data-hub-theme] .app-shell .hub-rank-arrival {outline:2px solid var(--sc-gold,#e6c48a)!important;outline-offset:-3px;scroll-margin-block:5rem}
html[data-hub-theme] .app-shell .agent-table .hub-rank-arrival>td {background:rgb(216 178 115 / 15%)!important}
html[data-hub-theme] .hub-mobile-reset-label {display:none}
html[data-hub-theme] .app-shell .hub-daily-agent-prompt {padding:clamp(16px,3vw,32px)}
html[data-hub-theme] .hub-daily-agent-prompt .field {max-width:420px;margin-top:16px}
html[data-hub-theme] .hub-daily-agent-prompt select {min-height:44px;width:100%}
@media (max-width:760px) {
  html[data-hub-theme] .app-shell .topbar .hub-log-action {width:44px;padding:0!important;flex:none}
  html[data-hub-theme] .app-shell .topbar .hub-log-action span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  html[data-hub-theme] .app-shell .entry-main,
  html[data-hub-theme] .app-shell .entry-main>.panel {overflow:visible!important}
  html[data-hub-theme] .app-shell .main-content .entry-actions {
    position:sticky;bottom:calc(var(--hub-mobile-nav-offset,0px) + env(safe-area-inset-bottom,0px));
    isolation:isolate;z-index:5;display:grid!important;grid-template-columns:minmax(76px,max-content) minmax(0,1fr)!important;align-items:center!important;gap:8px;
    margin-inline:-4px;padding:8px!important;border-radius:12px;
    border:1px solid var(--sc-edge,rgb(226 208 180 / 36%))!important;background:var(--sc-solid,#302326)!important;box-shadow:0 -3px 16px rgb(36 15 21 / 28%);
  }
  html[data-hub-theme] .app-shell .main-content .entry-actions>div {display:contents!important}
  html[data-hub-theme] .app-shell .main-content .entry-actions>div>small {position:absolute;right:8px;bottom:100%;padding:2px 6px;background:var(--sc-solid,#302326)!important;border-radius:4px;color:var(--sc-text,#faf5ec)!important;font-size:11px}
  html[data-hub-theme] .app-shell .main-content .entry-actions button {min-height:44px;white-space:normal;line-height:1.2}
  html[data-hub-theme] .app-shell .main-content .entry-actions>button {font-size:13px;max-width:none!important;width:auto!important;height:44px!important;min-width:76px;white-space:nowrap!important}
  html[data-hub-theme] .app-shell .main-content .entry-actions .btn.primary {width:100%!important;min-width:0!important;height:44px!important;padding:0 8px!important;white-space:nowrap}
  html[data-hub-theme] .hub-desktop-reset-label {display:none}
  html[data-hub-theme] .hub-mobile-reset-label {display:inline}
  html[data-hub-theme] .toast:has(.hub-daily-receipt) {bottom:calc(var(--hub-mobile-nav-offset,0px) + env(safe-area-inset-bottom,0px) + 6px);z-index:12}
}
}
