/* Phone portrait: the existing controls and LCD are rearranged, never cloned.
   Desktop and phone landscape keep the original hardware geometry. */
html.indier-portrait {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: #121418;
  scroll-padding-top: 16px;
}
html.indier-portrait body {
  display: block;
  height: auto;
  min-height: 100svh;
  padding: max(16px, env(safe-area-inset-top)) 12px max(24px, env(safe-area-inset-bottom));
  overflow: visible;
  background: radial-gradient(ellipse at 50% 0, #303139 0, #17191e 45%, #101216 100%);
}
html.indier-portrait .simulator-stage {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  transform: none;
  gap: 12px;
}
html.indier-portrait .page-title {
  display: none;
}
html.indier-portrait .hardware {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  width: 100%;
  gap: 12px;
  padding: 10px;
  border: 1px solid #44464b;
  border-radius: 24px;
  background: linear-gradient(145deg, #393b3e, #242628 40%, #1c1e20);
  box-shadow: inset 0 1px 0 #ffffff24, inset 0 -3px 0 #0009, 0 16px 30px #0006;
}
html.indier-portrait .hardware .module {
  min-width: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(160deg, #393b3d, #2b2d30);
}
html.indier-portrait .hardware .module-main {
  grid-column: 1 / -1;
  padding: 4px;
  gap: 0;
  background: none;
  box-shadow: none;
}
html.indier-portrait .main-lcd {
  width: 100%;
  height: 320px;
  padding: 12px;
  border-radius: 15px;
  --main-lcd-font-scale: 1.25;
  font-size: 13px;
  box-shadow: inset 0 2px 12px #000c, 0 0 0 2px #101214, 0 1px 0 3px #ffffff12;
}
html.indier-portrait .app-shell-screen { padding: 14px 12px; }
html.indier-portrait .app-home-logo { flex-basis: 36px; font-size: 23px; line-height: 32px; }
html.indier-portrait .app-home-platform { font-size: 12px; line-height: 32px; padding: 0 2px; }
html.indier-portrait .app-home-status { flex-basis: 24px; height: 24px; font-size: 11px; line-height: 24px; }
html.indier-portrait .app-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3,minmax(0,1fr)); gap: 10px; padding-top: 12px; }
html.indier-portrait .app-home-key { font-size: 14px; min-height: 44px; border-radius: 10px; }
/* Full-size physical display keys, followed by a single thumb-friendly transport row. */
html.indier-portrait .main-controls-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  min-height: 0;
  margin-top: 20px;
  gap: 16px;
}
html.indier-portrait .mode-grid {
  order: 0;
  width: 100%;
  height: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, 62px);
  gap: 12px 10px;
}
html.indier-portrait .mode-grid .mode-btn { width: 100%; height: 62px; border-radius: 10px; }
html.indier-portrait .mode-grid .mode-btn::before,
html.indier-portrait .mode-grid .mode-btn::after,
html.indier-portrait .mode-grid .key-screen-content { width: calc(100% - 18px); height: 44px; }
html.indier-portrait .module-main .mode-btn .btn-top { font-size: 10px; line-height: 15px; max-width: 100%; letter-spacing: 0; }
html.indier-portrait .module-main .mode-btn .btn-bottom { font-size: 13px; line-height: 18px; max-width: 100%; }
html.indier-portrait .module-main.navigation-active .mode-btn .btn-top { font-size: 12px; line-height: 18px; }
html.indier-portrait .left-controls-panel { order: 1; width: 100%; height: auto; padding: 10px 4px 8px; }
html.indier-portrait .left-controls-panel::before { inset: 0; border-color: #ffffff20; border-radius: 14px; box-shadow: inset 0 1px 4px #0005; }
html.indier-portrait .left-controls-panel .brand-label { display: none; }
html.indier-portrait .transport-cluster { position: relative; inset: auto; transform: none; width: 100%; height: 52px; flex-direction: row; gap: 0; justify-content: space-around; }
html.indier-portrait .transport-top,
html.indier-portrait .transport-bottom { display: contents; }
html.indier-portrait .transport-cluster :is(.home-btn,.back-btn,.voice-btn,.play-btn,.jam-btn) { width: 48px; height: 48px; min-width: 44px; flex-shrink: 0; }
html.indier-portrait .transport-cluster .key-screen-content { width: 34px; height: 34px; font-size: 12px; }
html.indier-portrait .jam-info { display: none; }
html.indier-portrait .jam-progress { width: 100%; }
/* Context-sensitive selection keys still mirror the active screen selection. */
html.indier-portrait .module-buttons { grid-column: 1 / -1; gap: 12px; overflow: hidden; }
html.indier-portrait .module-buttons::before { content: '声音选择 / SELECT'; color: #a3a6ac; font-size: 10px; letter-spacing: 2px; align-self: flex-start; }
html.indier-portrait .module-buttons .btn-stack { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); width: 100%; gap: 8px; touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; }
html.indier-portrait .module-buttons .sub-btn { width: 100%; height: 64px; min-height: 64px; font-size: 11px; }
html.indier-portrait .module-buttons .sub-btn::before,
html.indier-portrait .module-buttons .sub-btn::after,
html.indier-portrait .module-buttons .sub-btn .key-screen-content { width: calc(100% - 10px); height: 44px; }
html.indier-portrait .module-buttons .buttons-lcd { width: 100%; height: 72px; margin: 0; }
html.indier-portrait .module-buttons .touch-screen-content { inset: 6px; width: auto; height: auto; padding: 5px 8px; }
html.indier-portrait .module-buttons .lcd-label { font-size: 10px; }
html.indier-portrait .module-buttons .lcd-value { font-size: 14px; line-height: 20px; }
html.indier-portrait .module-buttons .lcd-sub { font-size: 10px; }
html.indier-portrait .module-buttons .lcd-mini-nav { position: absolute; inset: 12px 0 auto; justify-content: space-between; pointer-events: none; }
html.indier-portrait .module-buttons .lcd-mini-key { min-height: 32px; min-width: 44px; font-size: 9px; pointer-events: auto; }
/* Four existing rotary controls now share one row. */
html.indier-portrait .module-knobs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px 4px; }
html.indier-portrait .module-knobs .knob-row { position: static; transform: none; width: 100%; gap: 6px; }
html.indier-portrait .module-knobs .knob-name { display: block; font-size: 9px; color: #a3a6ac; }
html.indier-portrait .module-knobs .knob-ring-wrap { width: 56px; height: 56px; }
html.indier-portrait .module-knobs .knob-body { width: 44px; height: 44px; touch-action: none; }
html.indier-portrait .module-knobs .knob-value { font-size: 12px; }
html.indier-portrait .module-knobs .knobs-lcd { position: relative; inset: auto; transform: none; grid-column: 1 / -1; width: 100%; height: 48px; }
html.indier-portrait .module-knobs .touch-screen-content { inset: 5px; width: auto; height: auto; display: flex; justify-content: space-around; align-items: center; gap: 4px; }
html.indier-portrait .knobs-lcd-row { flex-direction: column; gap: 3px; }
html.indier-portrait .knobs-lcd-row .lbl { font-size: 9px; }
html.indier-portrait .knobs-lcd-row .val { font-size: 12px; }
html.indier-portrait .hardware :is(.module-fader,.module-purity) { height: 290px; gap: 12px; }
html.indier-portrait .fader-track { width: 44px; touch-action: none; }
html.indier-portrait .fader-thumb { width: 48px; }
html.indier-portrait .fader-lcd { width: 100%; height: 70px; }
html.indier-portrait .fader-lcd .touch-screen-content { inset: 5px; width: auto; height: auto; }
html.indier-portrait .fader-lcd .lcd-label { font-size: 10px; }
html.indier-portrait .fader-lcd .lcd-value { font-size: 23px; }
html.indier-portrait .fader-lcd .lcd-desc { font-size: 10px; }
html.indier-portrait .status-bar { width: 100%; flex-wrap: wrap; gap: 8px 14px; margin: 0; padding: 6px 4px; font-size: 11px; line-height: 18px; }
/* Give the working screen readable text, usable rows and native input sizes. */
html.indier-portrait .app-player-lyrics {
  font-size: clamp(16px, 4.4vw, 18px);
  line-height: 1.8;
  padding: 8px 10px;
}
html.indier-portrait .app-player-lyric-line {
  padding: 6px calc(7% + 3px);
  color: rgba(255,255,255,0.82);
}
html.indier-portrait .app-player-lyric-line.past { color: rgba(255,255,255,0.66); }
html.indier-portrait .app-player-lyric-line.active { color: var(--accent); font-weight: 700; }
html.indier-portrait .app-player-lyric-line.lyrics-section { font-size: 14px; color: rgba(255,255,255,0.72); }
html.indier-portrait .app-player-lyrics-label { flex-basis: 24px; font-size: 12px; line-height: 24px; }
html.indier-portrait .main-lcd :is(.lcd-prompt-text,.cover-lyrics-input) { font-size: 16px; line-height: 1.5; }
html.indier-portrait .main-lcd .lcd-input-actions { height: 32px; flex-basis: 32px; gap: 4px; }
html.indier-portrait .main-lcd .lcd-input-action { height: 32px; font-size: 10px; line-height: 30px; }
html.indier-portrait .main-lcd .lcd-substyle-list .lcd-substyle-item { height: auto; min-height: 32px; padding: 6px 4px; font-size: 12px; line-height: 18px; }
html.indier-portrait .main-lcd .lcd-bottom-nav { height: 32px; min-height: 32px; gap: 4px; }
html.indier-portrait .main-lcd .lcd-bottom-nav .lcd-screen-key { height: 32px; min-height: 32px; line-height: 30px; font-size: 11px; }
html.indier-portrait .app-library-header { flex-shrink: 0; min-height: 36px; }
html.indier-portrait :is(.app-library-title,.app-account-title,.app-balance-title,.app-voice-title) { font-size: 14px; }
html.indier-portrait :is(.app-library-count,.app-account-label,.app-account-value,.app-library-empty,.app-account-note) { font-size: 12px; line-height: 1.5; }
html.indier-portrait :is(.app-library-back,.app-balance-back) { min-width: 36px; min-height: 36px; font-size: 22px; }
html.indier-portrait .main-lcd .auth-layout { position: relative; padding-top: 32px; }
html.indier-portrait .main-lcd .auth-form-side { width: 100%; flex: 1; overflow-y: auto; }
html.indier-portrait .main-lcd .auth-qr-side { position: absolute; right: 0; top: 0; width: auto; padding: 0; border: 0; }
html.indier-portrait .main-lcd .auth-qr-side > :not(.auth-qr-header) { display: none; }
html.indier-portrait .main-lcd .auth-title { display: none; }
html.indier-portrait .main-lcd .auth-close { min-height: 28px; padding: 2px 10px; font-size: 12px; }
html.indier-portrait .main-lcd .auth-tab { font-size: 13px; min-height: 32px; }
html.indier-portrait .main-lcd .auth-field span { font-size: 11px; }
html.indier-portrait .main-lcd .auth-field input { height: 36px; font-size: 16px; }
html.indier-portrait .main-lcd .auth-submit { height: 36px; min-height: 36px; font-size: 14px; }
html.indier-portrait .main-lcd .auth-form-side.register-mode .auth-field { grid-template-columns: 56px minmax(0,1fr); gap: 6px; margin-bottom: 6px; }
html.indier-portrait .main-lcd .auth-sms-controls button { font-size: 11px; }
html.indier-portrait .main-lcd :is(.auth-error,.auth-recovery-link) { font-size: 11px; line-height: 18px; }
html.indier-portrait .auth-user-bar { display: none; }
html.indier-portrait :is(button,a,[role='button'],.mode-btn,.sub-btn,.transport-cluster) { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
html.indier-portrait :is(button,a,[role='button']):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html.indier-portrait * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
/* Override the physical millimetre limits only in the portrait rack. */
html.indier-portrait :is(.buttons-lcd,.knobs-lcd,.fader-lcd) {
  --ws-touch-w: 100%;
  --ws-touch-h: 72px;
}
html.indier-portrait .knobs-lcd { --ws-touch-h: 48px; }
html.indier-portrait .module-knobs .touch-screen-content { flex-direction: row; }
html.indier-portrait .module-buttons .touch-screen-content { padding-left: 48px; padding-right: 48px; }
html.indier-portrait .main-lcd .auth-close { width: 52px; white-space: nowrap; }
html.indier-portrait .main-lcd .auth-tab { flex: 0 0 auto; }
html.indier-portrait .main-lcd .auth-tabs .auth-tab { flex: 1; }
html.indier-portrait .main-lcd #musicSmsLogin { margin-bottom: 8px; }
html.indier-portrait .main-lcd .auth-form-side > * { flex-shrink: 0; }
html.indier-portrait .main-lcd .auth-recovery-link { min-height: 30px; }
/* Account, library and confirmation screens use the same LCD and actions. */
html.indier-portrait :is(.app-account-header,.app-balance-header,.app-voice-header) { flex-basis: 38px; min-height: 38px; }
html.indier-portrait .app-balance-header { grid-template-columns: 36px minmax(0,1fr) 36px; }
html.indier-portrait :is(.app-account-back,.app-balance-refresh,.app-voice-back) { width: 32px; height: 32px; font-size: 18px; }
html.indier-portrait :is(.app-account-menu-key,.app-theme-option) { min-height: 44px; padding: 8px; font-size: 13px; line-height: 1.4; }
html.indier-portrait :is(.app-account-menu-key,.app-theme-option) small { font-size: 10px; }
html.indier-portrait :is(.app-account-copy,.app-account-status,.app-account-info-row,.app-balance-notice,.app-voice-status) { font-size: 11px; line-height: 1.5; }
html.indier-portrait .app-account-info { grid-template-columns: minmax(0,1fr); }
html.indier-portrait .app-account-info-row { grid-template-columns: 60px minmax(0,1fr); }
html.indier-portrait .app-account-info-row :is(span,strong) { font-size: 11px; }
html.indier-portrait .app-account-info-row input { font-size: 16px; height: 32px; }
html.indier-portrait .app-library-item { grid-template-columns: 20px minmax(0,1fr) 34px 34px; gap: 4px; min-height: 52px; }
html.indier-portrait .app-library-item:is(.generated,.reference) { grid-template-columns: 20px minmax(0,1fr) 34px 34px 34px; }
html.indier-portrait :is(.app-library-name,.app-voice-name) { font-size: 13px; }
html.indier-portrait :is(.app-library-meta,.app-library-index,.app-voice-meta,.app-voice-state) { font-size: 10px; }
html.indier-portrait .app-library-action { width: 34px; height: 36px; font-size: 13px; }
html.indier-portrait .app-library-action svg { width: 16px; height: 16px; }
html.indier-portrait .app-voice-row { flex-basis: 48px; }
html.indier-portrait .app-voice-action { flex-basis: 40px; min-width: 40px; font-size: 11px; }
html.indier-portrait .app-voice-delete svg { width: 18px; height: 18px; }
html.indier-portrait :is(.app-voice-create,.app-voice-refresh,.app-voice-delete) { min-width: 32px; min-height: 32px; font-size: 11px; }
html.indier-portrait .main-lcd :is(.track-download-panel,.track-replace-panel,.app-payment-panel,.voice-create-panel) { width: 100%; padding: 12px; }
html.indier-portrait .main-lcd :is(.track-download-title,.track-replace-title,.voice-create-heading,.lcd-dialog-header h2,.lcd-confirm-dialog h2) { font-size: 14px; line-height: 1.5; }
html.indier-portrait .main-lcd :is(.track-download-desc,.voice-create-guide,.voice-create-message,.lcd-confirm-dialog p,.track-replace-field,.reference-delete-status) { font-size: 12px; line-height: 1.5; }
html.indier-portrait .main-lcd :is(.track-download-action,.track-replace-action,.voice-create-action,.voice-source-key,.lcd-confirm-actions button,.lcd-dialog-header button) { height: auto; min-height: 36px; font-size: 12px; line-height: 1.4; padding: 6px; }
html.indier-portrait .main-lcd :is(.track-replace-field input,.track-replace-field textarea,.voice-name-input,.lcd-dialog-layer input:not([type=checkbox])) { font-size: 16px; min-height: 34px; }
/* Voice creation needs readable consent and metadata as well as larger controls. */
html.indier-portrait .main-lcd .voice-create-panel { min-height: 0; gap: 10px; }
html.indier-portrait .main-lcd .voice-create-panel .voice-create-heading { flex: 0 0 auto; min-height: 36px; padding: 4px 30px; font-size: 18px; line-height: 28px; }
html.indier-portrait .main-lcd .voice-create-panel .voice-create-close { width: 36px; height: 36px; font-size: 18px; color: rgba(255,255,255,0.85); }
html.indier-portrait .main-lcd .voice-create-panel .voice-create-step { overflow-y: auto; overflow-x: hidden; }
html.indier-portrait .main-lcd .voice-create-panel .voice-create-step.visible { gap: 10px; }
html.indier-portrait .main-lcd .voice-create-panel .voice-create-step > * { flex-shrink: 0; }
html.indier-portrait .main-lcd .voice-create-panel .voice-create-guide,
html.indier-portrait .main-lcd .voice-create-panel .voice-review-meta,
html.indier-portrait .main-lcd .voice-create-panel .voice-create-message { color: rgba(255,255,255,0.82); font-size: 14px; line-height: 1.5; }
html.indier-portrait .main-lcd .voice-create-panel .voice-review-meta { overflow: visible; white-space: normal; overflow-wrap: anywhere; }
html.indier-portrait .main-lcd .voice-create-panel .voice-review-audio { height: 40px; }
html.indier-portrait .main-lcd .voice-create-panel .voice-name-input { min-height: 44px; font-size: 18px; }
html.indier-portrait .main-lcd .voice-create-panel .voice-consent { align-items: flex-start; gap: 10px; min-height: 44px; padding: 6px 0; color: rgba(255,255,255,0.9); font-size: 16px; line-height: 1.5; cursor: pointer; }
html.indier-portrait .main-lcd .voice-create-panel .voice-consent input { flex: 0 0 22px; width: 22px; height: 22px; margin: 1px 0 0; }
html.indier-portrait .main-lcd .voice-create-panel .voice-consent span { min-width: 0; overflow-wrap: anywhere; }
html.indier-portrait .main-lcd .voice-create-panel :is(.voice-create-action,.voice-source-key) { min-height: 44px; font-size: 16px; line-height: 1.5; }
html.indier-portrait .main-lcd .voice-create-panel .voice-source-key svg { width: 28px; height: 28px; margin-bottom: 8px; }
html.indier-portrait .main-lcd .voice-create-panel .voice-recording-time { font-size: 24px; }
html.indier-portrait .main-lcd .lcd-dialog-body { grid-template-columns: minmax(0,1fr); overflow-y: auto; }
html.indier-portrait .main-lcd .lcd-dialog-intro { border-right: 0; padding: 0; overflow: visible; }
html.indier-portrait .main-lcd .lcd-dialog-body > form { overflow: visible; }
html.indier-portrait #musicOnboardingDialog .track-download-panel { width: 100%; padding: 10px; }
html.indier-portrait #musicOnboardingDialog :is(p,#musicOnboardingStatus,label) { font-size: 12px !important; }
html.indier-portrait #musicOnboardingDialog label { grid-template-columns: 76px minmax(0,1fr); }
html.indier-portrait #musicOnboardingDialog input { height: 36px; font-size: 16px; }
html.indier-portrait #musicOnboardingDialog a { font-size: 12px; }
html.indier-portrait .main-lcd .lcd-content-row.cover-layout :is(.cover-reference-row,.cover-panel,.cover-preview-btn) { height: 32px; min-height: 32px; flex-basis: 32px; }
html.indier-portrait .main-lcd .lcd-content-row.cover-layout .cover-preview-btn { width: 40px; min-width: 40px; flex-basis: 40px; font-size: 11px; }
html.indier-portrait .main-lcd .lcd-content-row.cover-layout .cover-upload-caption { font-size: 10px; }
html.indier-portrait .main-lcd .lcd-content-row.cover-layout .cover-clear-btn { width: 28px; height: 28px; flex-basis: 28px; }
html.indier-portrait .main-lcd .lcd-content-row.cover-layout .cover-clear-btn svg { width: 16px; height: 16px; }
html.indier-portrait .main-lcd .lcd-content-row.cover-layout .cover-lyrics-area .lcd-input-actions { flex-basis: 32px; }
html.indier-portrait .module-buttons::before { content: '选择模块 / SELECT'; }
html.indier-portrait .buttons-lcd { --ws-touch-h: 84px; }
html.indier-portrait .module-buttons .lcd-value { flex: 1; min-height: 28px; display: flex; align-items: center; justify-content: center; line-height: 16px; }
html.indier-portrait .module-buttons .lcd-value.two-line { display: block; line-height: 16px; }
html.indier-portrait .module-buttons .lcd-mini-nav { top: 18px; margin: 0; }
html.indier-portrait .module-buttons .lcd-mini-key { flex: 0 0 44px; width: 44px; max-width: 44px; }
html.indier-portrait .module-buttons #nextMiniBtn { margin-left: auto; }
html.indier-portrait .app-balance-summary { flex-wrap: wrap; gap: 8px; }
html.indier-portrait .app-balance-stat { min-width: 60px; }
html.indier-portrait .app-balance-stat span { font-size: 10px; }
html.indier-portrait .app-balance-stat strong { font-size: 17px; }
html.indier-portrait :is(.app-balance-package,.app-balance-recharge-confirm,.app-balance-tab) { min-height: 36px; height: auto; font-size: 11px; }
html.indier-portrait .app-balance-package small { font-size: 10px; }
html.indier-portrait :is(.app-payment-title,.app-payment-product) { font-size: 13px; }
html.indier-portrait :is(.app-payment-info,.app-payment-status) { font-size: 11px; line-height: 1.5; }
html.indier-portrait .app-payment-close { width: 32px; height: 32px; font-size: 14px; }
html.indier-portrait .app-home-logo { text-align: center; font-size: clamp(19px,5.6vw,23px); }
html.indier-portrait .app-balance-summary { flex-basis: auto; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 8px 0; }
html.indier-portrait .app-balance-stat { min-width: 0; }
html.indier-portrait .app-balance-recharge { flex-basis: auto; grid-template-columns: repeat(3,minmax(0,1fr)); }
html.indier-portrait :is(.app-balance-recharge-label,.app-balance-recharge-confirm) { grid-column: 1 / -1; font-size: 11px; }
html.indier-portrait .main-lcd .screen-keyboard { padding: 8px; }
html.indier-portrait .main-lcd .screen-keyboard-header { height: 30px; flex-basis: 30px; font-size: 11px; }
html.indier-portrait .main-lcd .screen-keyboard-close { font-size: 12px; min-height: 28px; }
html.indier-portrait .main-lcd .screen-keyboard textarea.screen-keyboard-editor { font: 16px/1.5 sans-serif !important; }
html.indier-portrait .main-lcd .screen-keyboard-rows { flex-basis: 112px; gap: 5px; }
html.indier-portrait .main-lcd .screen-keyboard-key { font-size: 12px; }
html.indier-portrait .screen-keyboard-bottom-row { height: 34px; flex-basis: 34px; }
html.indier-portrait .screen-keyboard-candidates { flex-basis: 28px; font-size: 12px; line-height: 28px; }
html.indier-portrait .screen-keyboard-symbols { flex-basis: 112px; }
html.indier-portrait .main-lcd .lyric-symbols .screen-keyboard-key { font-size: 10px; }
html.indier-portrait .screen-keyboard-mode-menu { bottom: 45px; width: 190px; grid-auto-rows: 36px; }
html.indier-portrait .main-lcd .lcd-content-row.cover-layout .lcd-substyle-list.main-style-list .lcd-substyle-item {
  height: auto;
  min-height: 32px;
  padding: 6px 4px;
  font-size: 12px;
  line-height: 18px;
}
html.indier-portrait .main-lcd .screen-keyboard-globe { flex-basis: 30px; }
html.indier-portrait .main-lcd .screen-keyboard-symbol-toggle { flex-basis: 36px; }

html.indier-portrait .app-library-item.generated { grid-template-columns: 18px minmax(0,1fr) repeat(4,32px); gap: 3px; }
html.indier-portrait .app-library-item.generated .app-library-action { width: 32px; }
