/* GrapeSEED Unit Check Review — app shell (Clover brand: green & orange) */

:root {
  /* Clover green (clover-earth-app) */
  --guc-clover-green: #2e7d52;
  --guc-clover-green-mid: #43a047;
  --guc-clover-green-dark: #1b5e20;
  --guc-clover-green-light: #a5d6a7;
  --guc-clover-green-pale: #e8f5ec;

  /* Clover orange / coral accent */
  --guc-clover-orange: #e8837c;
  --guc-clover-orange-dark: #d6706a;
  --guc-clover-orange-pale: #fff0ee;

  --guc-select-accent: #a93226;
  --guc-select-accent-dark: #922b21;
  --guc-select-accent-border: #c0392b;
  --guc-select-accent-pale: #fdecea;
  --guc-select-accent-light: #e8a8a2;
  --guc-select-accent-rgb: 169, 50, 38;

  /* Underline / memo marks on lyrics */
  --guc-note-accent: #1565c0;
  --guc-note-accent-dark: #0d47a1;
  --guc-note-accent-pale: #e3f2fd;
  --guc-note-accent-rgb: 21, 101, 192;

  /* Radio / checkbox — lighter coral red */
  --guc-form-accent: var(--guc-clover-orange-dark);
  --guc-form-accent-text: var(--guc-clover-orange-dark);

  --guc-green: var(--guc-clover-green);
  --guc-red: #c0392b;
  --guc-text: #1a2233;
  --guc-muted: #4a6080;
  --guc-placeholder: #94a3b8;
  --guc-border: rgba(46, 125, 82, 0.16);
  --guc-bg: #f2f9f4;
  --guc-card: #ffffff;
  --guc-radius: 12px;
  --guc-shadow: 0 2px 12px rgba(46, 125, 82, 0.1);
  --guc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
  /* Earth-style mobile shell */
  --guc-app-max: 480px;
  --guc-marking-dock-height: 78px;
  --guc-safe-top: env(safe-area-inset-top, 0px);
  --guc-safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--guc-font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--guc-text);
  background: #dce8df;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

.guc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.guc-app {
  max-width: var(--guc-app-max);
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--guc-bg);
  padding-bottom: calc(12px + var(--guc-safe-bottom));
  box-shadow: 0 0 0 1px rgba(46, 125, 82, 0.06);
}

.guc-app.guc-marking-active {
  padding-bottom: calc(var(--guc-marking-dock-height) + 20px + var(--guc-safe-bottom));
}

.guc-header {
  background:
    radial-gradient(ellipse 115% 90% at 92% -8%, rgba(165, 214, 167, 0.42) 0%, transparent 58%),
    radial-gradient(ellipse 80% 65% at -5% 105%, rgba(13, 61, 20, 0.55) 0%, transparent 52%),
    linear-gradient(
      132deg,
      #0d3d14 0%,
      #1b5e20 22%,
      #2e7d52 48%,
      #388e3c 72%,
      #52a855 100%
    );
  color: #fff;
  padding: 14px 16px;
  padding-top: calc(14px + var(--guc-safe-top));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px 10px;
}

.guc-header-start {
  justify-self: start;
  display: flex;
  align-items: center;
}

.guc-header-logo {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
}

.guc-header-center {
  text-align: center;
  justify-self: center;
  min-width: 0;
  max-width: 100%;
}

.guc-header-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.guc-header-sub {
  margin: 2px 0 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0.92;
  line-height: 1.35;
}

.guc-sync-status {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

.guc-sync-status:empty {
  display: none;
}

.guc-header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
  justify-self: end;
}

.guc-page-select {
  width: auto;
  min-width: 0;
  max-width: none;
  padding: 5px 28px 5px 10px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  color: var(--guc-clover-green-dark);
  background: rgba(255, 255, 255, 0.82) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%231b5e20' d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.guc-page-select option {
  color: var(--guc-text);
  background-color: #fff;
  font-family: var(--guc-font);
  font-weight: 600;
}

.guc-app select option {
  color: var(--guc-text);
  background-color: #fff;
  font-family: var(--guc-font);
  font-weight: 600;
}

.guc-app select option[value=""] {
  color: var(--guc-placeholder);
  font-weight: 400;
}

.guc-app select option:disabled {
  color: var(--guc-muted);
  font-weight: 400;
}

.guc-page-select:focus {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

.guc-sync-status.guc-sync-loading {
  background: rgba(255, 255, 255, 0.95);
  color: var(--guc-text);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.guc-sync-status.guc-sync-ok { background: rgba(46, 125, 82, 0.45); }
.guc-sync-status.guc-sync-err { background: rgba(192, 57, 43, 0.4); }

.guc-main {
  flex: 1;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 12px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guc-card {
  background: var(--guc-card);
  border-radius: var(--guc-radius);
  box-shadow: var(--guc-shadow);
  padding: 14px 16px;
  border: 1px solid var(--guc-border);
}

.guc-section-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--guc-clover-green);
}

.guc-section-head {
  margin-bottom: 12px;
}

.guc-hint {
  margin: 0;
  font-size: 12px;
  color: var(--guc-muted);
}

.guc-form-row {
  margin-bottom: 12px;
}

.guc-form-row:last-child {
  margin-bottom: 0;
}

.guc-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--guc-muted);
  margin-bottom: 6px;
}

.guc-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  font-family: var(--guc-font);
  border: 1px solid var(--guc-border);
  border-radius: 8px;
  background: #fff;
  color: var(--guc-text);
}

.guc-input:focus {
  outline: 2px solid var(--guc-clover-green-mid);
  outline-offset: 1px;
  border-color: var(--guc-clover-green);
}

.guc-scan-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.guc-scan-row .guc-input {
  flex: 1;
  min-width: 0;
}

.guc-student-info {
  margin: 8px 0 0;
  min-height: 1.2em;
  font-size: 13px;
  line-height: 1.4;
  color: var(--guc-muted);
}

.guc-student-info-resolved {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
  margin-top: 10px;
  padding: 8px 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--guc-text);
  background: var(--guc-clover-orange-pale);
  border-radius: 8px;
  border-left: 3px solid var(--guc-clover-orange);
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
}

.guc-student-info-name {
  font-weight: 700;
  color: var(--guc-text);
}

.guc-student-info-meta {
  font-weight: 400;
  color: var(--guc-muted);
}

.guc-student-info-meta::before {
  content: '\3000';
}

.guc-student-info.guc-student-err {
  margin-top: 8px;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--guc-red);
  background: none;
  border: none;
  border-radius: 0;
}

.guc-lo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guc-lo-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.guc-lo-item input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--guc-clover-green);
  flex-shrink: 0;
}

.guc-lo-text {
  font-size: 14px;
  line-height: 1.45;
}

.guc-comments-fieldset {
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guc-comment-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}

.guc-comment-item:has(input:checked) {
  background: var(--guc-clover-green-pale);
  border-color: var(--guc-clover-green-light);
}

.guc-comment-item input {
  margin-top: 2px;
  accent-color: var(--guc-clover-green);
}

.guc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.1s, opacity 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.guc-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.guc-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.guc-btn-primary {
  width: 100%;
  background: var(--guc-clover-orange);
  color: #fff;
}

.guc-btn-primary:not(:disabled):hover {
  background: var(--guc-clover-orange-dark);
}

.guc-save-section,
.guc-flat-section {
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.guc-save-msg {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  min-height: 1.2em;
  color: var(--guc-muted);
}

.guc-save-msg.guc-msg-loading {
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  min-height: 3px;
  height: 3px;
}

.guc-load-bar-slot {
  margin: 8px 0 0;
  min-height: 0;
}

.guc-load-bar-slot:not(:has(.guc-load-bar)) {
  margin: 0;
  height: 0;
  overflow: hidden;
}

.guc-hist-load-area .guc-load-bar-slot {
  margin: 6px 0 0;
}

.guc-hist-load-area .guc-load-bar-slot:not(:has(.guc-load-bar)) {
  margin: 0;
}

.guc-load-bar-slot .guc-save-msg,
.guc-hist-load-bar,
.guc-prog-load-bar {
  margin: 0;
  min-height: 0;
  height: auto;
  padding: 0;
}

.guc-hist-load-bar:empty,
.guc-prog-load-bar:empty {
  display: none;
}

.guc-hist-status-msg:empty,
.guc-prog-status-msg:empty {
  display: none;
  margin: 0;
  min-height: 0;
}

.guc-hist-status-msg:not(:empty),
.guc-prog-status-msg:not(:empty) {
  margin: 6px 0 0;
}

.guc-load-bar {
  display: block;
  height: 3px;
  width: 100%;
  background: rgba(255, 127, 127, 0.12);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.guc-load-bar-indeterminate {
  position: absolute;
  top: 0;
  left: -55%;
  height: 100%;
  width: 55%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 183, 178, 0.45) 16%,
    #ff8a80 42%,
    #ff6f61 68%,
    rgba(229, 115, 115, 0.85) 84%,
    transparent 100%
  );
  border-radius: 999px;
  animation: guc-load-bar-slide 4.2s ease-in-out 1 forwards;
}

@keyframes guc-load-bar-slide {
  0% {
    left: -55%;
    opacity: 1;
  }
  88% {
    left: 100%;
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

.guc-save-msg.guc-msg-ok { color: var(--guc-green); }
.guc-save-msg.guc-msg-err { color: var(--guc-red); }

.guc-history-empty {
  font-size: 13px;
  color: var(--guc-muted);
}

.guc-history-card {
  font-size: 13px;
  line-height: 1.55;
}

.guc-history-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--guc-clover-green);
}

.guc-history-meta {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}

.guc-history-meta dt {
  font-weight: 600;
  color: var(--guc-muted);
  display: inline;
}

.guc-history-meta dt::after {
  content: ': ';
}

.guc-history-meta dd {
  display: inline;
  margin: 0;
}

.guc-history-block {
  margin-top: 8px;
  padding: 8px 10px;
  background: var(--guc-bg);
  border-radius: 8px;
  font-size: 12px;
  white-space: pre-wrap;
  word-break: break-word;
}

.guc-footer {
  text-align: center;
  padding: 8px 14px 4px;
  font-size: 10px;
  color: var(--guc-muted);
}

.guc-footer p {
  margin: 0;
}

.guc-unit-picker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  --guc-unit-field-height: 42px;
  --guc-unit-option-h: 42px;
}

.guc-unit-picker-row .guc-unit-select {
  height: var(--guc-unit-field-height);
  padding-block: 0;
  padding-inline: 12px;
  line-height: calc(var(--guc-unit-field-height) - 2px);
  box-sizing: border-box;
}

.guc-unit-picker-row .guc-pattern-toggle {
  height: var(--guc-unit-field-height);
  box-sizing: border-box;
}

.guc-unit-picker-row .guc-pattern-btn {
  min-height: 0;
  height: 100%;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.guc-staff-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
}

.guc-staff-field {
  flex: 1 1 140px;
  min-width: 0;
  margin-bottom: 0;
}

.guc-compact-fields {
  --guc-setup-field-h: 34px;
  --guc-unit-option-h: 34px;
}

.guc-compact-fields .guc-staff-field .guc-label,
.guc-compact-fields .guc-setup-student-row > .guc-label,
.guc-compact-fields .guc-hist-search-row > .guc-label,
.guc-compact-fields .guc-check-date-wrap .guc-label,
.guc-compact-fields .guc-unit-select-wrap .guc-label,
.guc-compact-fields .guc-pattern-wrap .guc-label,
.guc-compact-fields .guc-prog-season-wrap .guc-label,
.guc-compact-fields .guc-form-row > .guc-label {
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--guc-muted);
}

.guc-compact-fields .guc-staff-select,
.guc-compact-fields .guc-student-input,
.guc-compact-fields .guc-check-date,
.guc-compact-fields .guc-unit-select,
.guc-compact-fields .guc-prog-season-select {
  height: var(--guc-setup-field-h);
  padding: 0 10px;
  font-size: 13px;
  font-family: var(--guc-font);
  line-height: calc(var(--guc-setup-field-h) - 2px);
  box-sizing: border-box;
  min-height: 0;
}

.guc-app input::placeholder,
.guc-app textarea::placeholder,
.guc-app input::-webkit-input-placeholder,
.guc-app textarea::-webkit-input-placeholder,
.guc-app input::-moz-placeholder,
.guc-app textarea::-moz-placeholder {
  color: var(--guc-placeholder);
  font-family: var(--guc-font);
  font-size: inherit;
  font-weight: 400;
  font-style: normal;
  opacity: 1;
}

.guc-compact-fields input::placeholder,
.guc-compact-fields textarea::placeholder,
.guc-compact-fields input::-webkit-input-placeholder,
.guc-compact-fields textarea::-webkit-input-placeholder,
.guc-compact-fields input::-moz-placeholder,
.guc-compact-fields textarea::-moz-placeholder {
  font-size: 13px;
}

.guc-compact-fields .guc-qr-cam-btn {
  width: var(--guc-setup-field-h);
  min-height: var(--guc-setup-field-h);
  height: var(--guc-setup-field-h);
}

.guc-compact-fields .guc-qr-cam-icon {
  width: 20px;
  height: 20px;
}

.guc-compact-fields .guc-unit-picker-row {
  --guc-unit-field-height: var(--guc-setup-field-h);
}

.guc-compact-fields .guc-pattern-btn {
  min-width: 44px;
  padding: 0 16px;
  font-size: 13px;
}

.guc-setup-section .guc-staff-row {
  margin-bottom: 10px;
}

.guc-setup-student-row {
  margin-bottom: 0;
}

.guc-setup-unit-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--guc-border);
}

.guc-setup-unit-row .guc-check-date-wrap,
.guc-setup-unit-row .guc-unit-select-wrap {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}

.guc-setup-unit-row .guc-check-date {
  width: 100%;
}

.guc-check-date-wrap {
  flex: 0 0 auto;
  width: 132px;
  min-width: 0;
  margin-bottom: 0;
}

.guc-unit-select-wrap {
  flex: 1;
  min-width: 120px;
  margin-bottom: 0;
}

.guc-unit-select-shell {
  position: relative;
  min-height: var(--guc-setup-field-h, 34px);
}

.guc-unit-select-shell .guc-unit-select {
  width: 100%;
}

.guc-unit-select.guc-unit-select-expanded {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: auto;
  min-height: var(--guc-setup-field-h, 34px);
  max-height: calc(var(--guc-unit-option-h, 34px) * 5);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  box-shadow: 0 4px 14px rgba(26, 34, 51, 0.12);
  border-color: var(--guc-clover-green-mid);
}

.guc-pattern-wrap {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.guc-unit-select,
.guc-staff-select,
.guc-hist-site-select {
  font-family: var(--guc-font);
  font-weight: 600;
  color: var(--guc-text);
}

.guc-input.guc-select-placeholder,
.guc-unit-select.guc-select-placeholder,
.guc-staff-select.guc-select-placeholder,
.guc-hist-site-select.guc-select-placeholder,
.guc-prog-season-select.guc-select-placeholder {
  color: var(--guc-placeholder);
  font-family: var(--guc-font);
  font-weight: 400;
}

.guc-pattern-toggle {
  display: flex;
  gap: 0;
  border: 1px solid var(--guc-clover-green-light);
  border-radius: 10px;
  overflow: hidden;
  width: fit-content;
  background: #fff;
}

.guc-pattern-btn {
  min-width: 52px;
  min-height: 44px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  background: #fff;
  color: var(--guc-clover-green-mid);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.guc-pattern-btn-active {
  background: var(--guc-clover-green-light);
  color: var(--guc-clover-green-dark);
}

.guc-pattern-btn:not(.guc-pattern-btn-active):active {
  background: #f0f0f0;
}

.guc-staff-select {
  font-weight: 600;
  color: var(--guc-clover-green-dark);
}

.guc-overall-comments {
  width: 100%;
  min-height: 0;
  height: 52px;
  padding: 7px 10px;
  resize: vertical;
  font-size: 13px;
  line-height: 1.4;
}

.guc-team-hint {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--guc-clover-green-dark);
  line-height: 1.45;
}

.guc-song-block {
  margin-bottom: 10px;
  border: 1px solid var(--guc-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.guc-song-block:last-child {
  margin-bottom: 0;
}

.guc-review-content-section .guc-section-title {
  color: var(--guc-clover-green);
}

.guc-song-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--guc-text);
  padding: 8px 12px;
  cursor: pointer;
  list-style: none;
  background: var(--guc-clover-green-pale);
  border-bottom: 1px solid transparent;
  border-left: 3px solid transparent;
  scroll-margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
}

.guc-song-title-main {
  flex: 1;
  min-width: 0;
}

.guc-song-block[open] .guc-song-title {
  border-bottom-color: var(--guc-border);
  border-left-color: var(--guc-clover-orange);
  padding-left: 9px;
}

.guc-song-title::-webkit-details-marker {
  display: none;
}

.guc-song-title-main::before {
  content: '▸ ';
  display: inline-block;
  transition: transform 0.15s;
}

.guc-song-block[open] .guc-song-title-main::before {
  transform: rotate(90deg);
}

.guc-song-block:not([open]) .guc-song-instr-btn {
  display: none;
}

.guc-song-instr-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(46, 125, 82, 0.35);
  border-radius: 50%;
  background: var(--guc-clover-green-pale);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.guc-song-instr-btn:active {
  background: rgba(46, 125, 82, 0.12);
}

.guc-song-instr-btn-open {
  background: rgba(46, 125, 82, 0.12);
  border-color: var(--guc-clover-green-mid);
}

.guc-song-instr-btn-icon {
  display: block;
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
  color: var(--guc-clover-green);
}

.guc-song-instr-btn-open .guc-song-instr-btn-icon {
  color: var(--guc-clover-green-dark);
}

.guc-song-title-prefix {
  color: var(--guc-muted);
  font-weight: 600;
}

.guc-song-title-name {
  color: var(--guc-clover-green-dark);
}

.guc-song-block .guc-lyric-line {
  padding: 2px 14px;
}

.guc-lyrics-block {
  font-size: 13px;
  color: var(--guc-muted);
}

.guc-song-block .guc-lyric-line:first-of-type {
  padding-top: 8px;
}

.guc-song-block .guc-lyric-line:last-child {
  padding-bottom: 8px;
}

.guc-lyric-line {
  margin-bottom: 2px;
  padding: 2px 4px;
  border-radius: 6px;
  line-height: 1.25;
  scroll-margin-bottom: calc(var(--guc-marking-dock-height) + 16px);
}

.guc-lyric-line:last-child {
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .guc-app {
    max-width: 100%;
    box-shadow: none;
  }

  body {
    background: var(--guc-bg);
  }
}

@media (max-width: 374px) {
  .guc-header-title {
    font-size: 16px;
  }

  .guc-page-select {
    font-size: 11px;
  }

  .guc-pattern-btn {
    min-width: 46px;
    padding: 10px 16px;
  }

  .guc-unit-picker-row .guc-pattern-btn {
    padding: 0 16px;
  }
}

@media (min-width: 481px) {
  .guc-app {
    box-shadow: 0 0 24px rgba(46, 125, 82, 0.12);
  }
}
