*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
.pointer-events-none {
  pointer-events: none;
}
.\!visible {
  visibility: visible !important;
}
.visible {
  visibility: visible;
}
.fixed {
  position: fixed;
}
.relative {
  position: relative;
}
.inset-0 {
  inset: 0px;
}
.-z-10 {
  z-index: -10;
}
.z-10 {
  z-index: 10;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-5 {
  margin-top: 1.25rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.block {
  display: block;
}
.inline {
  display: inline;
}
.flex {
  display: flex;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.w-full {
  width: 100%;
}
.flex-1 {
  flex: 1 1 0%;
}
.resize {
  resize: both;
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.bg-cover {
  background-size: cover;
}
.bg-center {
  background-position: center;
}
.p-4 {
  padding: 1rem;
}
.p-5 {
  padding: 1.25rem;
}
.p-6 {
  padding: 1.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-bold {
  font-weight: 700;
}
.font-semibold {
  font-weight: 600;
}
.leading-relaxed {
  line-height: 1.625;
}
.text-\[\#5ba8c9\] {
  --tw-text-opacity: 1;
  color: rgb(91 168 201 / var(--tw-text-opacity, 1));
}
.text-emerald-600 {
  --tw-text-opacity: 1;
  color: rgb(5 150 105 / var(--tw-text-opacity, 1));
}
.opacity-50 {
  opacity: 0.5;
}
.opacity-60 {
  opacity: 0.6;
}
.opacity-70 {
  opacity: 0.7;
}
.opacity-80 {
  opacity: 0.8;
}
.opacity-90 {
  opacity: 0.9;
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
:root {
  --qh-primary: #7ec8e3;
  --qh-bg: #fff9e5;
  --qh-accent-pink: #ffd6e0;
  --qh-accent-green: #c8e6c9;
  --qh-text: #4a4a4a;
  --qh-radius: 24px;
  --qh-vh: 100vh;
  --qh-vw: 100vw;
  --qh-safe-top: env(safe-area-inset-top, 0px);
  --qh-safe-bottom: env(safe-area-inset-bottom, 0px);
  --qh-safe-left: env(safe-area-inset-left, 0px);
  --qh-safe-right: env(safe-area-inset-right, 0px);
  --qh-edge-shield-top: 0px;
  --qh-edge-shield-bottom: 0px;
  --qh-chrome-bottom: 1.75rem;
}

html {
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
       text-size-adjust: 100%;
}

html.qh-native-fullscreen {
  --qh-edge-shield-top: 48px;
  --qh-edge-shield-bottom: 0px;
  --qh-chrome-bottom: 1.75rem;
}

html.qh-native-fullscreen,
html.qh-native-fullscreen body,
html.qh-native-fullscreen #__nuxt {
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
       user-select: none;
  -webkit-touch-callout: none;
}

html.qh-native-fullscreen input,
html.qh-native-fullscreen textarea,
html.qh-native-fullscreen [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
       user-select: text;
}

html.qh-native-fullscreen .login-layout-shell {
  padding-top: var(--qh-edge-shield-top);
  padding-bottom: var(--qh-safe-bottom);
}

.login-layout-shell {
  display: flex;
  flex-direction: column;
  min-height: var(--qh-vh, 100vh);
  height: var(--qh-vh, 100vh);
  box-sizing: border-box;
  overflow: hidden;
  background: linear-gradient(180deg, #fff9e5 0%, #fff5f8 45%, #f0f9ff 100%);
}

.login-layout-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.login-layout-body .login-shell {
  min-height: 100%;
  padding: 3.5rem max(1.25rem, var(--qh-safe-right)) 1rem
    max(1.25rem, var(--qh-safe-left));
}

html.qh-native-fullscreen .login-layout-body .login-shell {
  padding-top: 3.75rem;
  padding-bottom: 0.75rem;
}

html.qh-native-fullscreen .login-shell-body {
  justify-content: center;
}

.login-page {
  background: transparent;
}

.login-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
}

html,
body,
#__nuxt {
  height: 100%;
  min-height: 100vh;
  min-height: var(--qh-vh, 100vh);
  background: var(--qh-bg);
  color: var(--qh-text);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 18px;
}

.qh-card {
  border-radius: var(--qh-radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(126, 200, 227, 0.25);
}

.qh-btn {
  border-radius: 999px;
  background: var(--qh-primary);
  color: #fff;
  font-weight: 600;
  padding: 12px 24px;
  transition: transform 0.15s ease;
}

.qh-btn:active {
  transform: scale(0.98);
}

.qh-input {
  width: 3.25rem;
  height: 3.85rem;
  text-align: center;
  font-size: 1.75rem;
  border-radius: 16px;
  border: 2px solid var(--qh-primary);
  background: #fff;
}

.login-shell-body {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 28rem;
  flex: 1 1 auto;
  justify-content: center;
}

.login-shell-foot {
  position: relative;
  z-index: 10;
  flex: 0 0 auto;
  margin-top: auto;
  padding: 1.25rem 0 0.5rem;
  max-width: 22rem;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.55;
  opacity: 0.65;
}

.student-decor {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.code-input-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.375rem;
}

.student-login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.student-login-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  text-align: left;
}

.student-login-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
}

.student-login-input {
  box-sizing: border-box;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  font-size: 1rem;
  text-align: left;
  border-radius: 12px;
  border: 2px solid var(--qh-primary);
  background: #fff;
  color: var(--qh-text);
}

.student-login-btn {
  width: 100%;
  margin-top: 0.25rem;
}

.login-privacy {
  border: 1px solid rgba(126, 200, 227, 0.35);
  background: rgba(255, 255, 255, 0.92);
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  width: 100%;
  max-width: 24rem;
}

.login-privacy-text {
  font-size: 0.875rem;
  line-height: 1.625;
  opacity: 0.85;
}

.login-btn-link {
  margin-top: 2rem;
  display: inline-block;
  width: 100%;
  max-width: 24rem;
  text-align: center;
  text-decoration: none;
}

.login-logo-wrap {
  min-height: 4.75rem;
  padding: 0 0.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
}

.login-logo {
  animation: login-bounce 2.4s ease-in-out infinite;
  font-size: 2.25rem;
  margin: 0;
  padding-bottom: 0.25rem;
  flex-shrink: 0;
}

.login-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.login-subtitle {
  font-size: 1rem;
  opacity: 0.7;
  margin: 0 0 1.25rem;
}

.login-notice-board {
  width: 100%;
  max-width: 24rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(126, 200, 227, 0.35);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 18px rgba(126, 200, 227, 0.18);
}

.login-notice-board--loading {
  text-align: center;
}

.login-notice-head {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0284c7;
}

.login-notice-item + .login-notice-item {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(126, 200, 227, 0.35);
}

.login-notice-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #334155;
}

.login-notice-content {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #475569;
  white-space: pre-wrap;
}

.login-notice-media {
  margin-top: 0.5rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(126, 200, 227, 0.35);
  background: linear-gradient(145deg, #e0f2fe 0%, #f8fafc 55%, #fff7ed 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.login-notice-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 8.5rem;
  margin: 0;
  border: none;
  border-radius: 0;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  background: transparent;
  box-sizing: border-box;
}

.login-notice-time {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  opacity: 0.55;
}

.login-notice-hint {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.6;
}

.login-notice-carousel {
  min-height: 5rem;
}

.login-notice-dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.login-notice-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(2, 132, 199, 0.25);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.login-notice-dot--active {
  background: #0284c7;
  transform: scale(1.15);
}

.notice-fade-enter-active,
.notice-fade-leave-active {
  transition: opacity 0.35s ease;
}

.notice-fade-enter-from,
.notice-fade-leave-to {
  opacity: 0;
}

.login-error {
  color: #f87171;
  font-size: 0.875rem;
  margin-top: 1rem;
}

.login-hint {
  font-size: 0.875rem;
  margin-top: 1rem;
}

.login-mascot-side {
  pointer-events: none;
  height: 3.25rem;
  width: auto;
  animation: mascot-wiggle 3.2s ease-in-out infinite;
}

.login-mascot-side.mascot-bunny {
  height: 3.75rem;
}

.student-decor-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.4;
  animation: student-decor-drift 8s ease-in-out infinite;
}

.student-decor-float {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.72;
  animation: student-decor-float 4s ease-in-out infinite;
}

.student-decor-blob-a {
  width: 9rem;
  height: 9rem;
  top: 8%;
  left: -2rem;
  background: var(--qh-accent-pink);
}

.student-decor-blob-b {
  width: 11rem;
  height: 11rem;
  bottom: 12%;
  right: -3rem;
  background: var(--qh-accent-green);
  animation-duration: 10s;
  animation-direction: reverse;
}

.student-decor-blob-c {
  width: 8rem;
  height: 8rem;
  top: 6%;
  right: -1.5rem;
  background: var(--qh-accent-pink);
  opacity: 0.35;
}

.student-decor-blob-d {
  width: 10rem;
  height: 10rem;
  bottom: 8%;
  left: -2.5rem;
  background: var(--qh-accent-green);
  opacity: 0.35;
  animation-duration: 11s;
  animation-direction: reverse;
}

.student-decor-blob-e {
  width: 9rem;
  height: 9rem;
  top: 10%;
  left: -2rem;
  background: #ffe0b2;
}

.student-decor-blob-f {
  width: 10rem;
  height: 10rem;
  bottom: 10%;
  right: -2rem;
  background: var(--qh-primary);
  opacity: 0.3;
  animation-duration: 9s;
  animation-direction: reverse;
}

.student-decor-float-1 { top: 14%; left: 12%; animation-delay: 0s; }
.student-decor-float-2 { top: 22%; right: 10%; animation-delay: 0.6s; }
.student-decor-float-3 { bottom: 28%; left: 8%; animation-delay: 1.2s; }
.student-decor-float-4 { bottom: 18%; right: 14%; animation-delay: 1.8s; }
.student-decor-float-5 { top: 42%; right: 6%; animation-delay: 2.4s; font-size: 1.25rem; }

.student-decor-float-h1 { top: 12%; left: 6%; animation-delay: 0s; }
.student-decor-float-h2 { top: 20%; right: 8%; animation-delay: 0.5s; }
.student-decor-float-h3 { top: 48%; left: 4%; animation-delay: 1s; font-size: 1.35rem; }
.student-decor-float-h4 { bottom: 22%; right: 6%; animation-delay: 1.5s; }
.student-decor-float-h5 { bottom: 12%; left: 10%; animation-delay: 2s; }

.student-decor-float-c1 { top: 16%; left: 10%; animation-delay: 0s; }
.student-decor-float-c2 { top: 28%; right: 12%; animation-delay: 0.7s; }
.student-decor-float-c3 { bottom: 30%; left: 8%; animation-delay: 1.4s; }
.student-decor-float-c4 { bottom: 16%; right: 10%; animation-delay: 2.1s; font-size: 1.35rem; }

.student-home-page {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  padding: calc(1.25rem + var(--qh-safe-top)) max(1.25rem, var(--qh-safe-right))
    1.25rem max(1.25rem, var(--qh-safe-left));
}

.home-head-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.home-nav-link {
  font-size: 0.875rem;
  color: inherit;
  text-decoration: none;
  opacity: 0.75;
}

.home-nav-link:hover {
  opacity: 1;
}

.home-back-link {
  font-size: 0.875rem;
  opacity: 0.7;
  text-decoration: none;
  color: inherit;
}

.home-head-title {
  flex: 1;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.home-head {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 0.5rem;
}

.home-head h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.home-logout,
.student-logout {
  font-size: 0.875rem;
  opacity: 0.85;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(126, 200, 227, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  color: #475569;
  cursor: pointer;
  flex-shrink: 0;
}

.student-logout:hover:not(:disabled),
.student-logout:active:not(:disabled) {
  opacity: 1;
  color: #002fa7;
}

.student-logout:disabled {
  opacity: 0.55;
  cursor: wait;
}

.home-section-title {
  position: relative;
  z-index: 10;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.home-mood-entry {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.15rem 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.home-mood-entry:active {
  transform: scale(0.98);
}

.home-mood-entry__icon {
  flex-shrink: 0;
  font-size: 2.25rem;
  line-height: 1;
}

.home-mood-entry__text {
  flex: 1 1 auto;
  min-width: 0;
}

.home-mood-entry__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #334155;
}

.home-mood-entry__sub {
  margin: 0.35rem 0 0;
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.45;
}

.home-mood-entry__arrow {
  flex-shrink: 0;
  font-size: 1.75rem;
  font-weight: 300;
  color: #94a3b8;
  line-height: 1;
}

.home-modules {
  position: relative;
  z-index: 10;
}

.home-modules .qh-card {
  min-height: 6.5rem;
  padding: 1.25rem 1rem;
}

.home-quote-row {
  position: relative;
  z-index: 10;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}

.home-notice-wrap,
.home-quote-wrap {
  position: relative;
  z-index: 10;
  margin-bottom: 1.5rem;
  width: 100%;
}

.home-notice-wrap .login-notice-board,
.home-quote-wrap .daily-quote-board,
.standby-notice-col .login-notice-board {
  max-width: none;
  margin-bottom: 0;
}

.daily-quote-board {
  width: 100%;
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(251, 146, 60, 0.4);
  background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 55%, #ffe4c7 100%);
  box-shadow: 0 6px 18px rgba(251, 146, 60, 0.16);
}

.daily-quote-board--loading {
  text-align: center;
}

.daily-quote-head {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  color: #c2410c;
}

.daily-quote-carousel {
  min-height: 5.5rem;
  display: flex;
  align-items: center;
}

.daily-quote-content {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.75;
  font-weight: 600;
  color: #7c2d12;
  text-align: center;
  white-space: pre-wrap;
}

.daily-quote-hint {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.6;
}

.daily-quote-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.daily-quote-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(194, 65, 12, 0.25);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.daily-quote-dot--active {
  background: #ea580c;
  transform: scale(1.15);
}

.quote-fade-enter-active,
.quote-fade-leave-active {
  transition: opacity 0.35s ease;
}

.quote-fade-enter-from,
.quote-fade-leave-to {
  opacity: 0;
}

.mood-daily-quote {
  margin-bottom: 1rem;
}

.student-home-page .student-decor {
  z-index: 1;
}

.mascot-sprout-home {
  animation: mascot-wiggle 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(126, 200, 227, 0.35));
}

.mascot-bunny-code {
  animation: mascot-bounce 2.6s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(255, 214, 224, 0.6));
}

.home-quote-bubble {
  position: relative;
  flex: 1;
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
}

.home-quote-bubble::before {
  content: "";
  position: absolute;
  left: -6px;
  bottom: 1.25rem;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: -2px 2px 4px rgba(126, 200, 227, 0.15);
}

@keyframes login-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes student-decor-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(6deg); }
}

@keyframes student-decor-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -8px) scale(1.05); }
}

@keyframes mascot-wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

@keyframes mascot-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.module-shell {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: var(--qh-bg);
  overflow: hidden;
}

.module-shell-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: calc(0.75rem + var(--qh-safe-top)) max(1rem, var(--qh-safe-right)) 0.75rem
    max(1rem, var(--qh-safe-left));
  border-bottom: 1px solid rgba(126, 200, 227, 0.35);
  background: rgba(255, 255, 255, 0.92);
}

.module-shell-back {
  font-size: 0.875rem;
  opacity: 0.7;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
}

.module-shell-title {
  flex: 1;
  margin: 0;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
}

.module-shell-msg {
  flex: 1;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.6;
}

.module-shell-msg--err {
  color: #f87171;
  opacity: 1;
}

.qh-inline-msg {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.qh-inline-msg--err {
  color: #ef4444;
}

.qh-inline-msg--hint {
  color: var(--qh-text);
  opacity: 0.55;
}

.module-disabled {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 3rem 1.5rem;
  text-align: center;
}

.module-disabled__icon {
  font-size: 2.5rem;
  line-height: 1;
}

.module-disabled__title {
  font-size: 0.875rem;
  font-weight: 600;
}

.module-disabled__hint {
  max-width: 16rem;
  font-size: 0.75rem;
  line-height: 1.6;
  opacity: 0.6;
}

.qh-btn-outline {
  flex: 1;
  border-radius: 999px;
  border: 2px solid var(--qh-primary);
  background: rgba(255, 255, 255, 0.85);
  color: #5ba8c9;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 12px 20px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.usage-limit-banner {
  margin: 0.75rem 1rem 0;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(126, 200, 227, 0.2);
  font-size: 0.8125rem;
  text-align: center;
  color: #0369a1;
}

.usage-limit-banner--err {
  background: rgba(248, 113, 113, 0.15);
  color: #dc2626;
}

.module-shell-overlay {
  position: absolute;
  left: 50%;
  top: 0.75rem;
  z-index: 20;
  transform: translateX(-50%);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 0.75rem;
  pointer-events: none;
}

.module-shell-body {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

.module-shell-frame {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #0a0a0a;
}

.module-chat-toggle {
  position: absolute;
  left: max(0.65rem, env(safe-area-inset-left, 0px));
  top: 50%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.55rem 0.45rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--qh-text);
  box-shadow: 0 4px 18px rgba(126, 200, 227, 0.35);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.15s ease, opacity 0.15s ease, transform 0.1s ease;
  -webkit-tap-highlight-color: transparent;
}

.module-chat-toggle:active {
  transform: translateY(-50%) scale(0.96);
}

.module-chat-toggle--off {
  opacity: 0.72;
  background: rgba(255, 255, 255, 0.78);
}

.module-chat-toggle-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.module-chat-toggle-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  writing-mode: vertical-rl;
}

.mood-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 74, 74, 0.45);
}

.mood-modal {
  animation: mood-pop 0.25s ease;
}

.mood-pick-btn--on {
  outline: 2px solid var(--qh-primary);
  outline-offset: 2px;
}

.mood-cal-cell {
  min-height: 2.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.75rem;
}

.mood-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.mood-cal-nav {
  font-size: 0.875rem;
  opacity: 0.6;
  background: none;
  border: none;
  padding: 0 0.25rem;
  cursor: pointer;
}

.mood-cal-title {
  font-size: 0.875rem;
  font-weight: 600;
}

.mood-cal-weeks {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.5;
  margin-bottom: 0.25rem;
}

.mood-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}

.mood-calendar--placeholder {
  min-height: 12rem;
}

.mood-cal-day {
  line-height: 1.1;
  opacity: 0.7;
}

.mood-cal-emoji {
  font-size: 1rem;
  line-height: 1.2;
}

.mood-toast {
  position: fixed;
  left: 50%;
  top: 20%;
  z-index: 60;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(74, 74, 74, 0.88);
  color: #fff;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
}

.mood-toast-enter-active,
.mood-toast-leave-active {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mood-toast-enter-from,
.mood-toast-leave-to {
  opacity: 0;
  transform: translateX(-50%) translateY(-8px);
}

@keyframes mood-pop {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.profile-shell {
  background: #fff8f5;
  color: var(--qh-text);
}

.profile-shell-head {
  border-bottom: 1px solid rgba(245, 168, 152, 0.35);
  background: rgba(255, 255, 255, 0.95);
  padding-top: var(--qh-safe-top);
}

.profile-back {
  font-size: 0.875rem;
  color: inherit;
  text-decoration: none;
  opacity: 0.7;
}

.profile-tabs {
  background: rgba(255, 255, 255, 0.95);
}

.profile-tab {
  flex: 1;
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  color: #64748b;
  text-decoration: none;
}

.profile-tab--active {
  background: rgba(245, 168, 152, 0.35);
  color: #c2410c;
  font-weight: 600;
}

.profile-main,
.profile-checkin-page {
  background: #fff8f5;
}

.checkin-card {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(245, 168, 152, 0.12);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.home-checkin-link {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
  color: inherit;
}

.home-checkin-emoji {
  font-size: 2rem;
}

.checkin-form-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.checkin-form-sub {
  margin: 0.35rem 0 1rem;
  font-size: 0.95rem;
  opacity: 0.65;
}

.checkin-mood-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.checkin-mood-btn {
  flex: 1;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #fff8f5;
  padding: 0.5rem 0;
  cursor: pointer;
}

.checkin-mood-btn--on {
  border-color: #f5a898;
  background: #fff;
}

.checkin-mood-btn:disabled {
  opacity: 0.65;
  cursor: default;
}

.checkin-note {
  width: 100%;
  border: 1px solid rgba(245, 168, 152, 0.35);
  border-radius: 12px;
  padding: 0.75rem;
  font-size: 0.875rem;
  resize: none;
  background: #fffdfb;
}

.checkin-save {
  width: 100%;
  margin-top: 1rem;
  border: none;
  border-radius: 999px;
  background: #f5a898;
  color: #fff;
  padding: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.checkin-save:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.checkin-err {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #ef4444;
  text-align: center;
}

.checkin-ok {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  text-align: center;
  color: #16a34a;
}

.checkin-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.checkin-card-head h3,
.checkin-card h3 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.checkin-card-tag {
  font-size: 0.65rem;
  opacity: 0.5;
}

.checkin-chart {
  display: flex;
  gap: 0.35rem;
  height: 8rem;
}

.checkin-chart-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.checkin-chart-bar-wrap {
  position: relative;
  flex: 1;
  width: 100%;
  border-bottom: 1px dashed rgba(245, 168, 152, 0.4);
}

.checkin-chart-dot {
  position: absolute;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f5a898;
  transform: translate(-50%, 50%);
}

.checkin-chart-label {
  margin-top: 0.35rem;
  font-size: 0.6rem;
  opacity: 0.55;
}

.checkin-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.checkin-card--half {
  margin-bottom: 0;
}

.checkin-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.checkin-tag {
  border-radius: 999px;
  background: rgba(245, 168, 152, 0.2);
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
}

.checkin-streak {
  margin: 0.5rem 0 0;
  font-size: 2rem;
  font-weight: 700;
  color: #f5a898;
}

.checkin-streak span {
  font-size: 0.875rem;
  font-weight: 400;
  margin-left: 0.15rem;
}

.checkin-empty {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  opacity: 0.5;
}

.kiosk-setup-banner {
  margin: 0 1rem 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(255, 248, 230, 0.98), rgba(255, 236, 200, 0.95));
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.12);
}

.kiosk-setup-banner__title {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #92400e;
}

.kiosk-setup-banner__note {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #78350f;
}

.kiosk-setup-banner__note strong {
  font-weight: 700;
  color: #92400e;
}

.kiosk-setup-banner__steps {
  margin: 0 0 0.75rem;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #78350f;
}

.kiosk-setup-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.kiosk-setup-banner__btn {
  padding: 0.45rem 0.85rem;
  border: none;
  border-radius: 999px;
  background: #fbbf24;
  color: #78350f;
  font-size: 0.82rem;
  font-weight: 600;
}

.kiosk-setup-banner__btn--primary {
  background: #d97706;
  color: #fff;
}

.kiosk-setup-banner__link {
  padding: 0.35rem 0.5rem;
  border: none;
  background: transparent;
  color: #92400e;
  font-size: 0.78rem;
  text-decoration: underline;
}

.app-exit-zone {
  position: fixed;
  top: calc(var(--qh-edge-shield-top, 0px) + 0.35rem);
  left: 50%;
  z-index: 99990;
  width: 7.5rem;
  height: 2.75rem;
  transform: translateX(-50%);
  touch-action: none;
}

.app-exit-hint {
  position: fixed;
  top: calc(var(--qh-edge-shield-top, 0px) + 3rem);
  left: 50%;
  z-index: 99991;
  transform: translateX(-50%);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.75rem;
  pointer-events: none;
}

.app-exit-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
}

.app-exit-modal__card {
  width: min(18rem, 88vw);
  padding: 1.25rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.app-exit-modal__title {
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
}

.app-exit-modal__hint {
  margin-top: 0.35rem;
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
}

.app-exit-modal__input {
  margin-top: 0.85rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 1rem;
  text-align: center;
}

.app-exit-modal__err {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #dc2626;
}

.app-exit-modal__actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

.app-exit-modal__btn {
  flex: 1;
  padding: 0.55rem;
  border-radius: 0.5rem;
  background: #f1f5f9;
  font-size: 0.9rem;
}

.app-exit-modal__btn--ok {
  background: #7ec8e3;
  color: #1e293b;
  font-weight: 600;
}

.pwd-change-modal {
  z-index: 100001;
}

.pwd-change-modal__card {
  width: min(20rem, 92vw);
}

.pwd-change-modal__submit {
  margin-top: 1rem;
  width: 100%;
}

.module-page {
  min-height: var(--qh-vh, 100vh);
  display: flex;
  flex-direction: column;
  background: var(--qh-bg);
  padding-bottom: var(--qh-safe-bottom);
}

.module-page-body {
  flex: 1;
  padding: 1rem max(1rem, var(--qh-safe-right)) 1.5rem max(1rem, var(--qh-safe-left));
  overflow-y: auto;
}

.module-page-intro {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  opacity: 0.75;
}

.module-page-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  align-items: center;
}

.phq9-opt {
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  border: 2px solid transparent;
  background: #f8fcff;
  font-size: 0.875rem;
}

.phq9-opt--active {
  border-color: var(--qh-primary);
  background: #eef8fd;
  font-weight: 600;
}

.phq9-link {
  background: none;
  border: 0;
  color: #5ba8c9;
  font-size: 0.875rem;
  padding: 0.5rem;
}

.scale-pick--done {
  opacity: 0.55;
  cursor: default;
}

.scale-pick {
  border: 1px solid rgba(126, 200, 227, 0.35);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.scale-pick:active {
  border-color: #5ba8c9;
  box-shadow: 0 0 0 2px rgba(91, 168, 201, 0.2);
}

.assessment-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.assessment-tab {
  flex: 1;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.assessment-tab--on {
  background: #5ba8c9;
  border-color: #5ba8c9;
  color: #fff;
  font-weight: 600;
}

.assessment-history {
  padding: 1.25rem;
}

.assessment-history__title {
  font-size: 0.875rem;
  font-weight: 600;
}

.assessment-history__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.25rem 0.75rem;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.assessment-history__row time {
  grid-column: 1 / -1;
}

.relax-audio-btn {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
}

.relax-audio-btn--on {
  background: #e0f2fe;
  border-color: #5ba8c9;
  color: #0369a1;
}

.lesson-video {
  max-height: 14rem;
  background: #0f172a;
  -o-object-fit: contain;
     object-fit: contain;
}

.breath-circle {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #dff4ff, #b8e6f5);
  transition: transform 1s ease;
}

.breath-circle--inhale[data-running="true"] {
  transform: scale(1.12);
}

.breath-circle--exhale[data-running="true"] {
  transform: scale(0.88);
}

.breath-circle-label {
  font-size: 1.125rem;
  font-weight: 600;
}

.breath-circle-sec {
  font-size: 2rem;
  font-weight: 700;
  color: #5ba8c9;
}

.lesson-card {
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  border: 2px solid transparent;
}

.lesson-card--active {
  border-color: var(--qh-primary);
  box-shadow: 0 8px 24px rgba(126, 200, 227, 0.35);
}

.module-chat-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  width: 100%;
  height: var(--qh-vh, 100vh);
  background: var(--qh-bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.module-chat-overlay-close {
  flex: 0 0 auto;
  margin: calc(0.5rem + var(--qh-safe-top)) 1rem 0.5rem;
  align-self: flex-start;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(126, 200, 227, 0.4);
  font-size: 0.875rem;
}

.module-chat-overlay-body,
.module-shell--compact {
  flex: 1;
  min-height: 0;
  position: relative;
}

.module-float-back {
  position: absolute;
  top: max(0.5rem, var(--qh-safe-top));
  right: max(0.5rem, var(--qh-safe-right));
  left: auto;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: #0284c7;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  touch-action: manipulation;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.module-float-back:active:not(:disabled) {
  transform: scale(0.97);
}

.module-float-back:disabled {
  opacity: 0.65;
  cursor: wait;
}

.tabbar-shell {
  display: flex;
  flex-direction: column;
  min-height: var(--qh-vh, 100vh);
  height: var(--qh-vh, 100vh);
  background: var(--qh-bg);
  color: var(--qh-text);
  position: relative;
  box-sizing: border-box;
}

html.qh-native-fullscreen .tabbar-shell {
  padding-top: var(--qh-edge-shield-top);
}

.kiosk-shield-status {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.35rem 0.65rem;
  height: var(--qh-edge-shield-top);
  padding: 0 max(0.65rem, var(--qh-safe-right)) 0 max(0.65rem, var(--qh-safe-left));
  overflow: hidden;
  pointer-events: none;
  box-sizing: border-box;
}

.kiosk-shield-status__line {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  color: #0369a1;
  white-space: nowrap;
}

.kiosk-shield-status--ok {
  color: #15803d;
}

.kiosk-shield-status--off {
  color: #dc2626;
}

html:not(.qh-native-fullscreen) .kiosk-shield-status {
  position: relative;
  height: auto;
  min-height: 2rem;
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(126, 200, 227, 0.2);
}

html:not(.qh-native-fullscreen) .kiosk-shield-status__line {
  font-size: 0.8125rem;
}

html:not(.qh-native-fullscreen) .tabbar-shell {
  padding-top: 0;
}

.tabbar-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(4.5rem + var(--qh-chrome-bottom) + var(--qh-safe-bottom));
}

.module-shell--compact > .module-float-back {
  position: absolute;
  top: max(0.5rem, var(--qh-safe-top));
  right: max(0.5rem, var(--qh-safe-right));
  left: auto;
}

.student-tabbar-wrap {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -4px 20px rgba(126, 200, 227, 0.12);
  pointer-events: auto;
}

.student-tabbar {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  min-height: 4.5rem;
  border-top: 1px solid rgba(126, 200, 227, 0.35);
  background: rgba(255, 255, 255, 0.96);
  pointer-events: auto;
}

.student-tabbar-lunar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.75rem calc(0.3rem + var(--qh-safe-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(126, 200, 227, 0.25);
  pointer-events: none;
  box-sizing: border-box;
}

.student-tabbar-lunar__text {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0369a1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.student-tabbar-item {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 4.5rem;
  padding: 0.65rem 0.35rem 0.55rem;
  border: none;
  background: transparent;
  text-decoration: none;
  color: #94a3b8;
  font-size: 0.9375rem;
  touch-action: manipulation;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.15s ease;
  cursor: pointer;
}

.student-tabbar-item::before {
  content: "";
  position: absolute;
  inset: 0 -0.15rem;
}

.student-tabbar-item--active {
  color: #5ba8c9;
  font-weight: 600;
}

.student-tabbar-icon {
  position: relative;
  z-index: 1;
  font-size: 1.75rem;
  line-height: 1;
  pointer-events: none;
}

.student-tabbar-label {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.tab-page-head {
  margin-bottom: 1rem;
}

.tab-page-head--row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.tab-page-head--row .tab-page-sub {
  margin-top: 0.25rem;
}

.tab-page-head h1 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}

.tab-page-sub {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  opacity: 0.65;
}

.mood-page,
.mine-page {
  min-height: 100%;
  padding: calc(0.75rem + var(--qh-safe-top)) max(1rem, var(--qh-safe-right))
    1.25rem max(1rem, var(--qh-safe-left));
  background: #fff8f5;
}

.mine-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(0, 47, 167, 0.08);
  box-shadow: 0 6px 20px rgba(0, 47, 167, 0.06);
}

.mine-profile__name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #002fa7;
}

.standby-shell {
  display: flex;
  flex-direction: column;
  height: var(--qh-vh, 100vh);
  min-height: var(--qh-vh, 100vh);
  overflow: hidden;
  background: linear-gradient(180deg, #f0f9ff 0%, #fff9e5 100%);
}

.standby-page {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  gap: 0.35rem;
  overflow: hidden;
  padding: calc(0.65rem + var(--qh-safe-top)) max(1rem, var(--qh-safe-right))
    calc(0.5rem + var(--qh-safe-bottom)) max(1rem, var(--qh-safe-left));
}

.standby-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.35rem;
}

.standby-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.standby-school-logo {
  width: 2rem;
  height: 2rem;
  max-width: 2rem;
  max-height: 2rem;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
  flex-shrink: 0;
  border-radius: 0.3rem;
  background: rgba(255, 255, 255, 0.85);
}

.standby-school-logo--default {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
}

.standby-header__line,
.standby-school {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0369a1;
}

.standby-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem 1.25rem;
}

.standby-net--ok { color: #15803d; }
.standby-net--off { color: #dc2626; }

.standby-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.35rem;
  flex: 0 0 auto;
  align-items: stretch;
}

@media (max-width: 640px) {
  html:not(.qh-native-fullscreen) .standby-top-row {
    grid-template-columns: 1fr;
  }
}

.standby-showcase {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  height: 26rem;
  min-height: 26rem;
  max-height: 26rem;
  box-sizing: border-box;
}

.standby-page .standby-showcase {
  height: 100%;
  min-height: 0;
  max-height: none;
}

.standby-page .standby-showcase-img,
.standby-page .standby-showcase-placeholder {
  flex: 1 1 0;
  min-height: 0;
  height: auto;
  max-height: none;
}

.standby-page .standby-showcase-img {
  display: block;
  width: 100%;
  -o-object-position: center;
     object-position: center;
  background: rgba(241, 245, 249, 0.95);
  box-sizing: border-box;
}

.standby-showcase-img {
  display: block;
  width: 100%;
  height: 22rem;
  -o-object-position: center;
     object-position: center;
  background: rgba(241, 245, 249, 0.95);
  box-sizing: border-box;
}

.standby-showcase-img--logo {
  -o-object-fit: contain;
     object-fit: contain;
  padding: 1.5rem;
}

.standby-showcase-img--cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.standby-showcase-placeholder {
  height: 22rem;
  display: grid;
  place-items: center;
  font-size: 2.25rem;
  background: rgba(126, 200, 227, 0.2);
}

.standby-showcase-label {
  margin: 0;
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 1.15rem;
}

.standby-notice-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.standby-notice-col .home-notice-wrap {
  margin: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 26rem;
}

.standby-notice-col .login-notice-board {
  max-width: none;
  margin-bottom: 0;
  height: 26rem;
  min-height: 26rem;
  max-height: 26rem;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow: hidden;
  padding: 1.15rem 1.25rem;
}

.standby-notice-col .login-notice-board--loading {
  align-items: center;
  justify-content: center;
}

.standby-notice-col .login-notice-board--empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.standby-notice-col .login-notice-board--empty .login-notice-hint {
  flex: 1;
  display: grid;
  place-items: center;
  margin: 0;
  font-size: 0.95rem;
}

.standby-page .login-notice-head {
  flex: 0 0 auto;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.standby-page .login-notice-carousel {
  flex: 1 1 0;
  min-height: 0;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.standby-page .login-notice-carousel > * {
  min-width: 0;
  width: 100%;
}

.standby-page .login-notice-item {
  flex: 1 1 0;
  min-height: 0;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.standby-page .login-notice-title {
  flex: 0 0 auto;
  font-size: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.standby-page .login-notice-content {
  flex: 1 1 0;
  min-height: 0;
  min-width: 0;
  width: 100%;
  margin: 0.12rem 0 0;
  padding-right: 0.15rem;
  font-size: 0.72rem;
  line-height: 1.5;
  color: #475569;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.standby-page .login-notice-media {
  position: relative;
  flex: 0 0 auto;
  max-height: 38%;
  min-height: 3.5rem;
  margin-top: 0.12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(226, 232, 240, 0.85);
}

.standby-page .login-notice-media::before {
  content: "";
  position: absolute;
  inset: -10%;
  background-image: var(--notice-bg);
  background-size: cover;
  background-position: center;
  filter: blur(12px) brightness(0.94);
  transform: scale(1.08);
}

.standby-page .login-notice-image {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}

.standby-page .login-notice-time {
  flex: 0 0 auto;
  font-size: 0.68rem;
  margin-top: 0.15rem;
  padding: 0 0.1rem;
  width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
}

.standby-page .login-notice-dots {
  flex: 0 0 auto;
  margin-top: 0.15rem;
}

.standby-page .login-notice-dot {
  width: 0.45rem;
  height: 0.45rem;
}

.standby-block-title {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0284c7;
}

.standby-page .standby-tile {
  min-height: 0;
}

.standby-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  flex: 0 0 auto;
  align-content: start;
}

.standby-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 9.25rem;
  padding: 0.95rem 0.75rem;
  border: none;
  cursor: pointer;
  text-align: center;
}

.standby-tile-emoji { font-size: 3.25rem; line-height: 1; }
.standby-tile-emoji .standby-icon-svg {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.05em;
}
.standby-module-head .standby-icon-svg--module {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.35rem;
  vertical-align: -0.12em;
}
.standby-tile-label { font-size: 1.35rem; font-weight: 700; }

.standby-tile-tag {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  font-size: 0.75rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.25);
  color: #64748b;
}

.standby-toast {
  position: fixed;
  left: 50%;
  bottom: calc(1.5rem + var(--qh-safe-bottom));
  transform: translateX(-50%);
  margin: 0;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
  font-size: 0.85rem;
  z-index: 90;
}

.standby-loading {
  text-align: center;
  padding: 2.5rem;
  font-size: 1.05rem;
  opacity: 0.6;
}

.standby-error {
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  padding: 2rem 1rem;
  text-align: center;
  color: #64748b;
}

.standby-tiles-empty {
  margin: 0;
  padding: 1.25rem;
  text-align: center;
  font-size: 0.95rem;
  color: #64748b;
  border-radius: var(--qh-radius);
  background: rgba(255, 255, 255, 0.85);
  border: 1px dashed rgba(126, 200, 227, 0.45);
}

.tabbar-content .module-page {
  min-height: auto;
}

.tabbar-content:has(> .module-shell--compact) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 0;
}

.tabbar-content .module-shell {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: auto;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

.tabbar-content .module-shell--compact {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.standby-intro-page,
.standby-module-page {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: calc(0.75rem + var(--qh-safe-top) + var(--qh-edge-shield-top))
    max(1rem, var(--qh-safe-right))
    max(1rem, var(--qh-safe-bottom))
    max(1rem, var(--qh-safe-left));
}

.standby-intro-head,
.standby-module-head {
  position: relative;
  z-index: 2;
}

.standby-module-page {
  padding-top: calc(1rem + var(--qh-safe-top) + var(--qh-edge-shield-top));
}

.standby-intro-head h1 {
  margin: 0.5rem 0 1rem;
  font-size: 1.25rem;
}

.standby-back {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  min-width: 8.5rem;
  padding: 0.75rem 1rem;
  border: none;
  background: transparent;
  color: #0284c7;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.standby-back::before {
  content: "";
  position: absolute;
  inset: -0.45rem -0.5rem;
}

.standby-back:disabled {
  opacity: 0.6;
  cursor: wait;
}

.standby-module-head h1 {
  margin: 0.75rem 0 1rem;
  font-size: 1.25rem;
}

.standby-module-emoji {
  display: inline;
  font-size: inherit;
  line-height: 1;
}

.standby-module-body {
  padding: 1.25rem 1.1rem;
  text-align: center;
}

.standby-module-hint {
  margin: 0 0 1rem;
  line-height: 1.65;
  color: #475569;
}

.standby-module-btn {
  width: 100%;
  max-width: 16rem;
}

.standby-module-error {
  margin: 0.75rem 0 0;
  color: #dc2626;
  font-size: 0.875rem;
}

.tabbar-shell--immersive .tabbar-content {
  padding-bottom: 0;
}

.tabbar-shell--immersive .tabbar-content:has(> .module-shell--compact) {
  padding-bottom: 0;
  height: 100%;
}

.module-standby-entry-btn,
.standby-exit-btn {
  flex: 0 0 auto;
  min-width: 4.75rem;
  min-height: 2.5rem;
  padding: 0.4rem 0.75rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 237, 213, 0.85);
  color: #c2410c;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.standby-exit-btn--compact {
  min-width: 4.25rem;
  font-size: 0.8125rem;
}

.standby-exit-btn--login {
  position: fixed;
  top: calc(var(--qh-edge-shield-top) + 0.45rem);
  left: max(0.75rem, var(--qh-safe-left));
  z-index: 55;
  min-height: 2.75rem;
  min-width: 6.5rem;
  color: #0284c7;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 14px rgba(126, 200, 227, 0.35);
  border: 1px solid rgba(126, 200, 227, 0.45);
  font-size: 0.9375rem;
}

html:not(.qh-native-fullscreen) .standby-exit-btn--login {
  top: 0.65rem;
}

.standby-exit-btn--login:active:not(:disabled) {
  transform: scale(0.97);
  background: #e0f2fe;
}

.module-standby-entry-btn:disabled,
.standby-exit-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.module-shell-head__spacer {
  flex: 0 0 auto;
  width: 4.75rem;
}

.tabbar-content .student-home-page {
  padding-top: 1.25rem;
}

.tabbar-content .mood-page,
.tabbar-content .mine-page {
  padding-top: 0.75rem;
}

.tabbar-content .module-shell-head {
  padding-top: 0.5rem;
  gap: 0.5rem;
}

.tabbar-content .module-shell-back {
  flex: 0 0 auto;
  min-width: 4.75rem;
  min-height: 2.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(126, 200, 227, 0.18);
  color: #0284c7;
  font-size: 0.9375rem;
  font-weight: 600;
  opacity: 1;
}

.tabbar-content .module-shell-title {
  font-size: 1.0625rem;
  color: #0369a1;
}

.tabbar-standby-bar {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 0.45rem max(1rem, var(--qh-safe-right)) 0.45rem max(1rem, var(--qh-safe-left));
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

.tabbar-standby-bar .home-back-link {
  position: relative;
  z-index: 1;
  color: #0284c7;
  opacity: 1;
  font-weight: 600;
  font-size: 0.9375rem;
  min-height: 3rem;
  min-width: 8.5rem;
  padding: 0.75rem 1rem;
  border: none;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.tabbar-standby-bar .home-back-link::before {
  content: "";
  position: absolute;
  inset: -0.45rem -0.5rem;
}

.tabbar-standby-bar .home-back-link:disabled {
  opacity: 0.6;
  cursor: wait;
}

.login-standby-row {
  width: 100%;
  margin: 0 0 0.75rem;
  text-align: left;
}

.module-shell-standby {
  display: none;
}

.standby-intro-body { padding: 1rem 1.1rem; }

.standby-intro-text {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.75;
  color: #334155;
}

/* Kiosk 待机页：3/5 上区 + 2/5 功能 + 底栏固定 */
html.qh-native-fullscreen .standby-page {
  overflow: hidden;
  height: 100%;
}

html.qh-native-fullscreen .standby-header {
  flex: 0 0 auto;
}

html.qh-native-fullscreen .standby-body {
  flex: 1 1 0;
  min-height: 0;
}

html.qh-native-fullscreen .standby-top-stack {
  flex: 3 3 0;
  min-height: 0;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
}

html.qh-native-fullscreen .standby-actions {
  flex: 2 2 0;
  min-height: 0;
}

html.qh-native-fullscreen .standby-showcase--hero {
  height: 100%;
  min-height: 0;
}

html.qh-native-fullscreen .standby-showcase-img,
html.qh-native-fullscreen .standby-showcase-placeholder {
  flex: 1 1 0;
  min-height: 0;
  max-height: none;
}

html.qh-native-fullscreen .standby-notice-showcase {
  height: 100%;
  min-height: 0;
}

html.qh-native-fullscreen .standby-tile-grid {
  flex: 1 1 0;
  min-height: 0;
  grid-template-rows: 1fr 1fr;
  gap: 0.55rem;
}

html.qh-native-fullscreen .standby-tile {
  min-height: 0;
  gap: 0.5rem;
  padding: 0.5rem 0.45rem;
}

html.qh-native-fullscreen .standby-tile-emoji {
  font-size: clamp(2.75rem, 7.2vh, 4rem);
  line-height: 1;
}
html.qh-native-fullscreen .standby-tile-emoji .standby-icon-svg {
  width: 1em;
  height: 1em;
}

html.qh-native-fullscreen .standby-tile-label {
  font-size: clamp(1.15rem, 2.9vh, 1.55rem);
  font-weight: 700;
  line-height: 1.15;
}

html.qh-native-fullscreen .standby-device-footer {
  flex: 0 0 auto;
  margin-top: auto;
}

/* 话机全屏待机：最新通知字号加大，便于远距离阅读 */
html.qh-native-fullscreen .standby-page .login-notice-head {
  font-size: clamp(1.05rem, 2.7vh, 1.32rem);
  margin-bottom: 0.3rem;
}

html.qh-native-fullscreen .standby-page .login-notice-title {
  font-size: clamp(1rem, 2.55vh, 1.28rem);
}

html.qh-native-fullscreen .standby-page .login-notice-content {
  font-size: clamp(0.98rem, 2.45vh, 1.2rem);
  line-height: 1.55;
}

html.qh-native-fullscreen .standby-page .login-notice-time {
  font-size: clamp(0.9rem, 2.15vh, 1.08rem);
}

html.qh-native-fullscreen .standby-page .login-notice-hint {
  font-size: clamp(1rem, 2.4vh, 1.18rem);
}

html.qh-native-fullscreen .standby-page .login-notice-dot {
  width: 0.55rem;
  height: 0.55rem;
}

html.qh-native-fullscreen .standby-notice-showcase__badge {
  font-size: clamp(0.95rem, 2.4vh, 1.15rem);
}

html.qh-native-fullscreen .standby-notice-showcase .standby-showcase-label {
  font-size: clamp(1rem, 2.5vh, 1.25rem);
}

/* 待机页：最新通知卡片（与校园风采同布局，可点击进入详情） */
.standby-notice-showcase {
  min-height: 0;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.standby-notice-showcase--state {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.standby-notice-showcase__hint {
  margin: 0;
  padding: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
}

.standby-notice-showcase__link {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.standby-notice-showcase__badge {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.28rem 0.4rem 0.08rem;
  font-size: 0.72rem;
  color: #64748b;
}

.standby-notice-showcase__media {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
}

.standby-notice-showcase__slide {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.standby-notice-showcase__placeholder {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0.45rem 0.55rem;
  background: transparent;
  color: #334155;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.standby-notice-showcase__text {
  margin: 0;
  width: 100%;
  font-size: clamp(0.72rem, 1.8vh, 0.88rem);
  line-height: 1.5;
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
}

.standby-notice-page__dots {
  margin-top: 0.75rem;
  justify-content: center;
}

.standby-notice-detail {
  padding: 1rem 1.1rem;
}

.standby-notice-detail__title {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: #0c4a6e;
}

.standby-notice-detail__media {
  margin-bottom: 0.75rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.standby-notice-detail__image {
  display: block;
  width: 100%;
  max-height: 40vh;
  -o-object-fit: cover;
     object-fit: cover;
}

.standby-notice-detail__content {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.65;
  white-space: pre-wrap;
  color: #334155;
}

.standby-notice-detail__time {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
}

.login-notice-item--tap {
  cursor: pointer;
  border-radius: 12px;
  transition: background 0.15s ease;
}

.login-notice-item--tap:active {
  background: rgba(0, 47, 167, 0.06);
}

.login-notice-tap-hint {
  flex: 0 0 auto;
  margin: 0.35rem 0 0;
  font-size: 0.68rem;
  color: #94a3b8;
  text-align: center;
}

.notice-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: max(0.75rem, var(--qh-safe-top)) max(0.75rem, var(--qh-safe-right))
    max(0.75rem, var(--qh-safe-bottom)) max(0.75rem, var(--qh-safe-left));
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
}

.notice-fullscreen__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 40rem);
  max-height: 100%;
  margin: auto;
  padding: 1rem 1.1rem 1.15rem;
  overflow: hidden;
}

html.qh-native-fullscreen .notice-fullscreen {
  padding: max(0.5rem, var(--qh-safe-top)) max(0.5rem, var(--qh-safe-right))
    max(0.5rem, var(--qh-safe-bottom)) max(0.5rem, var(--qh-safe-left));
}

html.qh-native-fullscreen .notice-fullscreen__panel {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  border-radius: 16px;
}

.notice-fullscreen__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  padding: 0.35rem 0.85rem;
  border: none;
  border-radius: 999px;
  background: rgba(0, 47, 167, 0.1);
  color: #002fa7;
  font-size: 0.8125rem;
  font-weight: 600;
}

.notice-fullscreen__title {
  margin: 0 2.5rem 0.75rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
}

.notice-fullscreen__media {
  flex: 0 0 auto;
  max-height: min(42vh, 18rem);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(226, 232, 240, 0.85);
}

.notice-fullscreen__image {
  display: block;
  max-width: 100%;
  max-height: min(42vh, 18rem);
  -o-object-fit: contain;
     object-fit: contain;
}

.notice-fullscreen__content {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  overflow-y: auto;
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
  white-space: pre-wrap;
  word-break: break-word;
  -webkit-overflow-scrolling: touch;
}

.notice-fullscreen__time {
  flex: 0 0 auto;
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  color: #94a3b8;
}

html.qh-native-fullscreen .notice-fullscreen__title {
  font-size: clamp(1.2rem, 3vh, 1.55rem);
}

html.qh-native-fullscreen .notice-fullscreen__content {
  font-size: clamp(1rem, 2.6vh, 1.25rem);
}

html.qh-native-fullscreen .notice-fullscreen__image {
  max-height: min(48vh, 22rem);
}

html.qh-native-fullscreen .login-notice-tap-hint {
  font-size: clamp(0.75rem, 2vh, 0.9rem);
}

/* 话机：课堂视频控件加大，播放器全宽 */
html.qh-native-fullscreen .classroom-page__content {
  max-width: none;
}

html.qh-native-fullscreen .classroom-player__screen {
  max-height: none;
  max-width: none;
  width: 100%;
  margin-inline: 0;
}

html.qh-native-fullscreen .classroom-player__track {
  height: 1.75rem;
}

html.qh-native-fullscreen .classroom-player__track-thumb {
  width: 1rem;
  height: 1rem;
}

html.qh-native-fullscreen .classroom-player__times {
  font-size: 0.8125rem;
}

html.qh-native-fullscreen .classroom-player__play-btn {
  width: 3rem;
  height: 3rem;
}

html.qh-native-fullscreen .classroom-player__center-play {
  width: 4.5rem;
  height: 4.5rem;
}

html.qh-native-fullscreen .classroom-video-item {
  padding: 0.95rem 1rem;
}

/* 课堂视频播放器 — 克莱因蓝主题 */
:root {
  --cv-blue: #002fa7;
  --cv-blue-light: #2f5fd4;
  --cv-blue-soft: rgba(0, 47, 167, 0.1);
  --cv-blue-glow: rgba(0, 47, 167, 0.28);
}

.classroom-player {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 47, 167, 0.1);
  box-shadow: 0 10px 36px var(--cv-blue-glow);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.classroom-player__head {
  padding: 0.875rem 1rem 0.75rem;
  background: linear-gradient(135deg, rgba(0, 47, 167, 0.07), rgba(0, 47, 167, 0.02));
  border-bottom: 1px solid rgba(0, 47, 167, 0.08);
}

.classroom-player__live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cv-blue);
}

.classroom-player__live-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--cv-blue);
  box-shadow: 0 0 0 0 rgba(0, 47, 167, 0.45);
  animation: cv-live-pulse 1.8s ease-out infinite;
}

@keyframes cv-live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 47, 167, 0.45);
  }
  70% {
    box-shadow: 0 0 0 0.45rem rgba(0, 47, 167, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 47, 167, 0);
  }
}

.classroom-player__title {
  margin: 0.35rem 0 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
}

.classroom-player__screen {
  position: relative;
  width: min(100%, calc(min(56vw, 24rem) * 16 / 9));
  max-height: min(56vw, 24rem);
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  background: #06080f;
  overflow: hidden;
}

.classroom-player__screen video {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  background: #06080f;
}

.classroom-player__bar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2.25rem 0.85rem 0.75rem;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 8, 15, 0.88) 72%);
  pointer-events: none;
}

.classroom-player__bar .classroom-player__controls {
  pointer-events: auto;
}

.classroom-player__center-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: rgba(0, 47, 167, 0.55);
  color: #fff;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, background 0.18s ease;
}

.classroom-player__center-play svg {
  width: 1.65rem;
  height: 1.65rem;
  margin-left: 0.15rem;
}

.classroom-player__center-play:active {
  transform: translate(-50%, -50%) scale(0.96);
  background: rgba(0, 47, 167, 0.72);
}

.classroom-player__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 1rem;
  text-align: center;
  pointer-events: none;
}

.classroom-player__overlay-card {
  max-width: 18rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.classroom-player__overlay-card p {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #f8fafc;
}

.classroom-player__overlay-icon {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: var(--cv-blue);
}

.classroom-player__overlay--err .classroom-player__overlay-icon {
  background: #dc2626;
}

.classroom-player__overlay--hint {
  background: rgba(0, 47, 167, 0.42);
}

.classroom-player__overlay--wait {
  background: rgba(6, 8, 15, 0.42);
}

.classroom-player__wait-tip {
  margin: 0.65rem 0 0 !important;
  font-size: 0.8125rem !important;
  color: rgba(248, 250, 252, 0.94) !important;
}

.classroom-player__spinner {
  width: 2.35rem;
  height: 2.35rem;
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cv-spin 0.75s linear infinite;
}

@keyframes cv-spin {
  to {
    transform: rotate(360deg);
  }
}

.classroom-player__controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.classroom-player__play-btn {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--cv-blue);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease;
}

.classroom-player__play-btn:active {
  transform: scale(0.94);
}

.classroom-player__play-btn svg {
  width: 1.2rem;
  height: 1.2rem;
}

.classroom-player__progress-wrap {
  flex: 1 1 0;
  min-width: 0;
}

.classroom-player__track {
  position: relative;
  height: 1.35rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
}

.classroom-player__track-rail {
  position: relative;
  width: 100%;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.classroom-player__track-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cv-blue-light), #6b93ff);
}

.classroom-player__track-thumb {
  position: absolute;
  top: 50%;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease;
}

.classroom-player__track:active .classroom-player__track-thumb {
  transform: translate(-50%, -50%) scale(1.12);
}

.classroom-player__times {
  display: flex;
  justify-content: space-between;
  margin-top: 0.2rem;
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
  color: rgba(248, 250, 252, 0.82);
}

/* —— 课堂页布局 —— */
.classroom-page .module-page-body {
  padding-top: 0.75rem;
}

.classroom-page__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
}

.classroom-module-desc {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(0, 47, 167, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(0, 47, 167, 0.04));
  font-size: 0.875rem;
  line-height: 1.65;
  color: #475569;
}

.classroom-module-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 1rem 1.05rem;
  text-align: left;
  border: 1px solid rgba(0, 47, 167, 0.1);
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.classroom-module-card:active {
  transform: scale(0.99);
  border-color: rgba(0, 47, 167, 0.28);
  box-shadow: 0 8px 24px var(--cv-blue-glow);
}

.classroom-module-card__emoji {
  font-size: 1.75rem;
  line-height: 1;
}

.classroom-module-card__body {
  flex: 1;
  min-width: 0;
}

.classroom-module-card__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.classroom-module-card__summary {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #64748b;
}

.classroom-module-card__meta {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cv-blue);
}

.classroom-module-card__arrow {
  font-size: 1.35rem;
  line-height: 1;
  color: var(--cv-blue-light);
}

/* —— 视频列表 —— */
.classroom-video-list {
  padding: 0.9rem 1rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(0, 47, 167, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 6px 22px rgba(0, 47, 167, 0.08);
}

.classroom-video-list__head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.classroom-video-list__head h2 {
  margin: 0;
  flex: 1;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
}

.classroom-video-list__icon {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.4rem;
  font-size: 0.65rem;
  color: #fff;
  background: var(--cv-blue);
}

.classroom-video-list__count {
  min-width: 1.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-align: center;
  color: var(--cv-blue);
  background: var(--cv-blue-soft);
}

.classroom-video-list__grid {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.classroom-video-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.8rem 0.85rem;
  border: 1px solid rgba(0, 47, 167, 0.08);
  border-radius: 0.75rem;
  background: #fff;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.classroom-video-item:active {
  transform: scale(0.99);
}

.classroom-video-item--active {
  border-color: rgba(0, 47, 167, 0.45);
  box-shadow: 0 6px 18px var(--cv-blue-glow);
  background: linear-gradient(135deg, #fff, rgba(0, 47, 167, 0.04));
}

.classroom-video-item__index {
  flex-shrink: 0;
  width: 1.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  text-align: center;
}

.classroom-video-item__play {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--cv-blue-light), var(--cv-blue));
  color: #fff;
  box-shadow: 0 4px 12px var(--cv-blue-glow);
}

.classroom-video-item__play svg {
  width: 0.95rem;
  height: 0.95rem;
  margin-left: 0.1rem;
}

.classroom-video-item__title {
  min-width: 0;
  flex: 1;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
}

.classroom-video-list__empty,
.classroom-video-list__hint {
  padding: 1.25rem 0 0.25rem;
  text-align: center;
  font-size: 0.875rem;
  color: #94a3b8;
}

/* 冥想模块 — 克莱因蓝主题（全局样式，兼容 legacy 静态包） */
:root {
  --med-blue: #002fa7;
  --med-blue-light: #2f5fd4;
  --med-blue-soft: rgba(0, 47, 167, 0.1);
  --med-blue-glow: rgba(0, 47, 167, 0.28);
}

.meditation-page .module-page-body {
  padding-top: 0.75rem;
}

.meditation-page__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
}

.meditation-page__modules {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
}

.meditation-module-desc {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(0, 47, 167, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(0, 47, 167, 0.04));
  font-size: 0.875rem;
  line-height: 1.65;
  color: #475569;
}

.meditation-module-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 1rem 1.05rem;
  text-align: left;
  border: 1px solid rgba(0, 47, 167, 0.1);
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.meditation-module-card:active {
  transform: scale(0.99);
  border-color: rgba(0, 47, 167, 0.28);
  box-shadow: 0 8px 24px var(--med-blue-glow);
}

.meditation-module-card__emoji {
  font-size: 1.75rem;
  line-height: 1;
}

.meditation-module-card__body {
  flex: 1;
  min-width: 0;
}

.meditation-module-card__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.meditation-module-card__summary {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #64748b;
}

.meditation-module-card__meta {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--med-blue);
}

.meditation-module-card__arrow {
  font-size: 1.35rem;
  line-height: 1;
  color: var(--med-blue-light);
}

.meditation-player {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 47, 167, 0.12);
  box-shadow: 0 10px 36px var(--med-blue-glow);
}

.meditation-player__stage {
  position: relative;
  min-height: min(56vw, 20rem);
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #e8eeff 0%, #dbeafe 100%);
  overflow: hidden;
}

.meditation-player__native {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.meditation-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(145deg, #e8eeff 0%, #f0f9ff 100%);
}

.meditation-bg__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.meditation-bg__fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--med-blue) 0%, #4f6fd8 100%);
  opacity: 0.45;
}

.meditation-bg__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.55) 100%);
}

.meditation-bg-fade-enter-active,
.meditation-bg-fade-leave-active {
  transition: opacity 0.8s ease;
}

.meditation-bg-fade-enter-from,
.meditation-bg-fade-leave-to {
  opacity: 0;
}

.meditation-player__center-play {
  position: absolute;
  top: 42%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: rgba(0, 47, 167, 0.55);
  color: #fff;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, background 0.18s ease;
}

.meditation-player__center-play svg {
  width: 1.65rem;
  height: 1.65rem;
  margin-left: 0.15rem;
}

.meditation-player__center-play:active {
  transform: translate(-50%, -50%) scale(0.96);
  background: rgba(0, 47, 167, 0.72);
}

.meditation-player__bar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 2.5rem 0.85rem 0.85rem;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 8, 15, 0.88) 72%);
  pointer-events: none;
}

.meditation-player__bar > * {
  pointer-events: auto;
}

.meditation-player__head {
  margin-bottom: 0.65rem;
}

.meditation-player__live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(248, 250, 252, 0.92);
}

.meditation-player__live-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 0 0 rgba(134, 239, 172, 0.55);
  animation: med-live-pulse 1.8s ease-out infinite;
}

@keyframes med-live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(134, 239, 172, 0.55);
  }
  70% {
    box-shadow: 0 0 0 0.45rem rgba(134, 239, 172, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(134, 239, 172, 0);
  }
}

.meditation-player__title {
  margin: 0.35rem 0 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.45;
}

.meditation-audio-list {
  padding: 0.9rem 1rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(0, 47, 167, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 6px 22px rgba(0, 47, 167, 0.08);
}

.meditation-audio-list__head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.meditation-audio-list__head h2 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
}

.meditation-audio-list__icon {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.45rem;
  font-size: 0.75rem;
  background: var(--med-blue-soft);
}

.meditation-audio-list__count {
  min-width: 1.35rem;
  margin-left: auto;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-align: center;
  color: var(--med-blue);
  background: var(--med-blue-soft);
}

.meditation-audio-list__grid {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.meditation-audio-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.8rem 0.85rem;
  border: 1px solid rgba(0, 47, 167, 0.08);
  border-radius: 0.75rem;
  background: #fff;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.meditation-audio-item:active {
  transform: scale(0.99);
}

.meditation-audio-item--active {
  border-color: rgba(0, 47, 167, 0.45);
  box-shadow: 0 6px 18px var(--med-blue-glow);
  background: linear-gradient(135deg, #fff, rgba(0, 47, 167, 0.04));
}

.meditation-audio-item__index {
  flex-shrink: 0;
  width: 1.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  text-align: center;
}

.meditation-audio-item__play {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--med-blue-light), var(--med-blue));
  color: #fff;
  box-shadow: 0 4px 12px var(--med-blue-glow);
}

.meditation-audio-item__play svg {
  width: 0.95rem;
  height: 0.95rem;
  margin-left: 0.1rem;
}

.meditation-audio-item__body {
  min-width: 0;
  flex: 1;
}

.meditation-audio-item__title {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
}

.meditation-audio-item__meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.6875rem;
  color: #64748b;
}

.meditation-audio-list__empty,
.meditation-audio-list__hint {
  margin: 0;
  padding: 1.25rem 0 0.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #94a3b8;
}

/* 待机页一屏：上 3/5 风采+通知，下 2/5 功能入口，底栏固定 */
.standby-page {
  overflow: hidden;
  height: 100%;
  gap: 0.22rem;
  padding-bottom: 0.25rem;
}

/* 桌面浏览器调试：勿裁掉功能入口，保证一卡通等可点 */
html:not(.qh-native-fullscreen) .standby-page {
  overflow-y: auto;
}

html:not(.qh-native-fullscreen) .standby-top-stack {
  flex: 0 0 auto;
  min-height: min(42vh, 22rem);
  max-height: 46vh;
}

html:not(.qh-native-fullscreen) .standby-actions {
  flex: 0 0 auto;
  min-height: 14rem;
  overflow: visible;
}

.standby-body {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  overflow: hidden;
}

.standby-top-stack {
  flex: 3 3 0;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.32rem;
  align-items: stretch;
}

.standby-actions {
  flex: 2 2 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.standby-showcase--hero,
.standby-page .standby-showcase {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.standby-page .standby-showcase-img,
.standby-page .standby-showcase-placeholder {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  height: auto;
  max-height: none;
}

.standby-page .standby-showcase-label {
  flex: 0 0 auto;
  padding: 0.22rem 0.4rem;
  font-size: 0.8rem;
}

.standby-notice-showcase {
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.standby-notice-showcase .standby-showcase-img,
.standby-notice-showcase .standby-notice-showcase__placeholder {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  height: auto;
  max-height: none;
}

.standby-notice-showcase .standby-showcase-label {
  flex: 0 0 auto;
  padding: 0.22rem 0.4rem;
  font-size: 0.8rem;
}

.standby-notice-showcase .login-notice-dots {
  flex: 0 0 auto;
  padding: 0.1rem 0 0.22rem;
}

.standby-block-title {
  flex: 0 0 auto;
  margin: 0 0 0.18rem;
  font-size: 0.9rem;
}

.standby-tile-grid {
  flex: 1 1 0;
  min-height: 0;
  gap: 0.5rem;
  grid-template-rows: 1fr 1fr;
  align-content: stretch;
}

.standby-page .standby-tile {
  min-height: 0;
  gap: 0.5rem;
  padding: 0.45rem 0.4rem;
}

.standby-page .standby-tile-emoji {
  font-size: clamp(2.5rem, 6.5vh, 3.75rem);
  line-height: 1;
}
.standby-page .standby-tile-emoji .standby-icon-svg {
  width: 1em;
  height: 1em;
}

.standby-page .standby-tile-label {
  font-size: clamp(1.1rem, 2.6vh, 1.45rem);
  font-weight: 700;
  line-height: 1.15;
}

.standby-header {
  flex: 0 0 auto;
  margin-bottom: 0.1rem;
}

.standby-header__line,
.standby-school {
  font-size: clamp(0.95rem, 2.2vh, 1.2rem);
}

.standby-school-logo {
  width: 1.55rem;
  height: 1.55rem;
  max-width: 1.55rem;
  max-height: 1.55rem;
}

.standby-device-footer {
  flex: 0 0 auto;
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.3rem 0.45rem;
  padding: 0.18rem 0.5rem calc(0.18rem + var(--qh-safe-bottom));
  font-size: 0.68rem;
  color: #64748b;
  background: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.standby-device-footer__sep {
  opacity: 0.45;
}

html.qh-native-fullscreen .standby-top-stack {
  flex: 3 3 0;
  min-height: 0;
}

html.qh-native-fullscreen .standby-actions {
  flex: 2 2 0;
  min-height: 0;
}

.usage-limit-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.usage-limit-modal__card {
  width: min(20rem, 100%);
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 47, 167, 0.18);
}

.usage-limit-modal__icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.usage-limit-modal__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #002fa7;
}

.usage-limit-modal__text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
}

.app-update-banner {
  margin: 0.75rem 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #e8eeff 0%, #f0f9ff 100%);
  border: 1px solid rgba(0, 47, 167, 0.15);
  text-align: center;
}

.app-update-banner__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #002fa7;
}

.app-update-banner__note {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: #64748b;
}

.app-update-banner__btn {
  margin-top: 0.65rem;
  min-width: 8rem;
}

.app-update-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.45);
}

.app-update-modal__card {
  width: min(22rem, 100%);
  padding: 1.5rem 1.25rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 47, 167, 0.18);
  text-align: center;
}

.app-update-modal__icon {
  font-size: 2rem;
  line-height: 1;
}

.app-update-modal__title {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #002fa7;
}

.app-update-modal__text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
}

.app-update-modal__hint {
  margin-top: 0.65rem;
  font-size: 0.8125rem;
  color: #002fa7;
  line-height: 1.5;
}

.app-update-modal__actions {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.app-update-modal__later {
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 0.875rem;
  padding: 0.35rem;
}

/* 激活页：全局样式（Capacitor 旧 WebView 不依赖 Vue scoped） */
.activate-page {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(165deg, #fff9e5 0%, #f5f8ff 45%, #eef2ff 100%);
}
.activate-page__bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 20%, rgba(0, 47, 167, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 75%, rgba(126, 200, 227, 0.15) 0%, transparent 70%);
}
.activate-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 26rem;
  margin: auto;
  padding: 2rem 1.75rem 1.5rem;
  box-sizing: border-box;
  border-radius: 24px;
  background: #fff;
  box-shadow:
    0 4px 24px rgba(0, 47, 167, 0.08),
    0 1px 3px rgba(0, 47, 167, 0.06);
  border: 1px solid rgba(0, 47, 167, 0.08);
}
.activate-card__hero {
  text-align: center;
  margin-bottom: 0.25rem;
}
.activate-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #e8eeff 0%, #dce6ff 100%);
  color: #002fa7;
}
.activate-card__icon svg {
  width: 1.75rem;
  height: 1.75rem;
  display: block;
}
.activate-card__title {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0f172a;
}
.activate-card__sub {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
}
.code-digits {
  position: relative;
  margin: 1.25rem 0 1.5rem;
  min-height: 3.25rem;
}
.code-digits__input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  opacity: 0;
  font-size: 16px;
  z-index: 3;
  cursor: pointer;
  background: transparent;
}
.code-digits__row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 0.5rem;
}
.code-digits__cell {
  flex: 1 1 0;
  width: 0;
  height: 3.25rem;
  max-width: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 2px solid rgba(0, 47, 167, 0.14);
  background: #f8faff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #002fa7;
  box-sizing: border-box;
}
.code-digits__cell--active {
  border-color: #002fa7;
  box-shadow: 0 0 0 3px rgba(0, 47, 167, 0.12);
  background: #fff;
}
.code-digits__cell--filled {
  background: #fff;
}
.activate-card__error {
  margin: -0.5rem 0 1rem;
  padding: 0.625rem 0.875rem;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  font-size: 0.8125rem;
  color: #b91c1c;
  line-height: 1.45;
}
.activate-card__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #002fa7 0%, #1a4fd6 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 47, 167, 0.28);
}
.activate-card__btn:active:not(:disabled) {
  transform: scale(0.98);
}
.activate-card__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}
.activate-card__spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: qh-activate-spin 0.7s linear infinite;
}
.activate-card__hint {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  color: #94a3b8;
}
@keyframes qh-activate-spin {
  to {
    transform: rotate(360deg);
  }
}

/* 一卡通查询表单 */
.standby-module-body:has(.campus-card-panel) {
  text-align: left;
  padding: 1.35rem 1.2rem 1.5rem;
}

.campus-card-panel {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  max-width: 40rem;
  margin: 0 auto;
  width: 100%;
  min-height: 12rem;
  box-sizing: border-box;
}

.campus-card-panel--boot {
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 0.95rem;
}

.campus-card-form {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

.campus-card-panel__lead {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #475569;
}

.campus-card-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.campus-card-field__label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
}

.campus-card-field__input {
  box-sizing: border-box;
  width: 100%;
  min-height: 3.1rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(0, 47, 167, 0.28);
  border-radius: 0.85rem;
  background: #f8fafc;
  color: #0f172a;
  font-size: 1.05rem;
  outline: none;
}

.campus-card-field__input::-moz-placeholder {
  color: #94a3b8;
}

.campus-card-field__input::placeholder {
  color: #94a3b8;
}

.campus-card-field__input:focus {
  border-color: #002fa7;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 47, 167, 0.14);
}

.campus-card-panel__tip {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: #64748b;
}

.campus-card-code {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.campus-card-code__labels {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 1.4rem minmax(0, 1fr);
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 650;
  color: #0f172a;
}

.campus-card-code__spacer {
  width: 1.4rem;
}

.campus-card-code__row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 1.4rem minmax(0, 1fr);
  align-items: center;
  gap: 0.45rem;
}

.campus-card-code__sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  color: #002fa7;
}

.campus-card-code__uid,
.campus-card-code__id {
  min-width: 0;
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  letter-spacing: 0.04em;
  text-align: center;
}

.campus-card-code__hint {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: #64748b;
}

.campus-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.15rem;
  margin-top: 0.85rem;
  border: none;
  border-radius: 0.9rem;
  background: #002fa7;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 650;
  cursor: pointer;
}

.campus-card-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.campus-card-btn--ghost {
  background: transparent;
  color: #002fa7;
  border: 1.5px solid rgba(0, 47, 167, 0.35);
}

.campus-card-error {
  margin: 0.75rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
  font-size: 0.92rem;
}

/* 一卡通余额卡 */
.cc-wallet {
  padding: 1.15rem 1.2rem 1.2rem;
  border-radius: 1.15rem;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, 0.18), transparent 55%),
    linear-gradient(145deg, #002fa7 0%, #1a4bc4 48%, #3b6ef0 100%);
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 47, 167, 0.24);
}

.cc-wallet__head {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.cc-wallet__badge {
  margin: 0;
  align-self: flex-start;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.cc-wallet__identity {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.cc-wallet__field {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.55rem;
  align-items: baseline;
}

.cc-wallet__field dt {
  margin: 0;
  font-size: 0.78rem;
  opacity: 0.78;
}

.cc-wallet__field dd {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  word-break: break-all;
}

.cc-wallet__mono {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  letter-spacing: 0.03em;
  font-size: 1rem !important;
}

.cc-wallet__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.cc-wallet__cell {
  padding: 0.75rem 0.8rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.14);
}

.cc-wallet__label {
  display: block;
  font-size: 0.76rem;
  opacity: 0.85;
}

.cc-wallet__value {
  display: block;
  margin-top: 0.28rem;
  font-size: 1.32rem;
  font-weight: 700;
}

.cc-wallet__warn {
  margin: 0.85rem 0 0;
  padding: 0.55rem 0.7rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  line-height: 1.45;
  opacity: 0.95;
}

.campus-card-section-title {
  margin: 0.2rem 0 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: #002fa7;
}

/* 一卡通消费列表 */
.cc-recs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cc-rec {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(0, 47, 167, 0.12);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.cc-rec__top {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  align-items: flex-start;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 47, 167, 0.08);
}

.cc-rec__device,
.cc-rec__amt {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
}

.cc-rec__k {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 550;
}

.cc-rec__device strong {
  font-size: 1rem;
  color: #0f172a;
  line-height: 1.35;
  word-break: break-word;
}

.cc-rec__amt {
  text-align: right;
  flex-shrink: 0;
}

.cc-rec__amt em {
  font-style: normal;
  font-size: 1.22rem;
  font-weight: 750;
  color: #b45309;
  font-variant-numeric: tabular-nums;
}

.cc-rec__amt--in em {
  color: #047857;
}

.cc-rec__meta {
  margin: 0.75rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.85rem;
}

.cc-rec__meta > div {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}

.cc-rec__meta--wide {
  grid-column: 1 / -1;
}

.cc-rec__meta dt {
  margin: 0;
  font-size: 0.72rem;
  color: #64748b;
}

.cc-rec__meta dd {
  margin: 0;
  font-size: 0.92rem;
  color: #0f172a;
  font-weight: 600;
  word-break: break-all;
}

.cc-rec__mono {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  letter-spacing: 0.02em;
  font-weight: 550 !important;
}

.cc-empty {
  margin: 0;
  padding: 1.15rem 0.95rem;
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
  border-radius: 1rem;
  background: #f8fafc;
  border: 1px dashed rgba(0, 47, 167, 0.18);
}

.cc-wallet__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cc-wallet__state {
  padding: 0.08rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.cc-wallet__state--lost {
  background: rgba(254, 226, 226, 0.95);
  color: #b91c1c;
}

/* 我的 · 修改密码 */
.mine-pwd {
  margin-top: 0.35rem;
  padding: 0;
  overflow: hidden;
  border-radius: 1.15rem;
  background: #fff;
  border: 1px solid rgba(0, 47, 167, 0.1);
  box-shadow: 0 8px 24px rgba(0, 47, 167, 0.06);
}

.mine-pwd__head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.05rem 1.15rem 0.95rem;
  background:
    linear-gradient(135deg, rgba(0, 47, 167, 0.08) 0%, rgba(59, 110, 240, 0.04) 100%);
  border-bottom: 1px solid rgba(0, 47, 167, 0.08);
}

.mine-pwd__mark {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.75rem;
  background:
    linear-gradient(145deg, #002fa7 0%, #3b6ef0 100%);
  box-shadow: 0 6px 14px rgba(0, 47, 167, 0.22);
  position: relative;
}

.mine-pwd__mark::before,
.mine-pwd__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.mine-pwd__mark::before {
  top: 0.52rem;
  width: 0.72rem;
  height: 0.55rem;
  border: 2px solid #fff;
  border-bottom: none;
  border-radius: 0.45rem 0.45rem 0 0;
}

.mine-pwd__mark::after {
  top: 1.05rem;
  width: 0.95rem;
  height: 0.78rem;
  border-radius: 0.22rem;
  background: #fff;
}

.mine-pwd__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #002fa7;
}

.mine-pwd__hint {
  margin: 0.28rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #64748b;
}

.mine-pwd__form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.05rem 1.15rem 1.2rem;
}

.mine-pwd__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mine-pwd__label {
  font-size: 0.84rem;
  font-weight: 650;
  color: #0f172a;
}

.mine-pwd__input {
  box-sizing: border-box;
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid rgba(0, 47, 167, 0.2);
  border-radius: 0.85rem;
  background: #f8fafc;
  color: #0f172a;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.mine-pwd__input::-moz-placeholder {
  color: #94a3b8;
}

.mine-pwd__input::placeholder {
  color: #94a3b8;
}

.mine-pwd__input:focus {
  border-color: #002fa7;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 47, 167, 0.12);
}

.mine-pwd__msg {
  margin: 0;
  padding: 0.65rem 0.8rem;
  border-radius: 0.75rem;
  font-size: 0.84rem;
  line-height: 1.4;
}

.mine-pwd__msg--err {
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
}

.mine-pwd__msg--ok {
  background: rgba(5, 150, 105, 0.1);
  color: #047857;
}

.mine-pwd__btn {
  width: 100%;
  min-height: 3rem;
  margin-top: 0.15rem;
  border: none;
  border-radius: 0.9rem;
  background: linear-gradient(145deg, #002fa7 0%, #1e4fd6 100%);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 650;
  box-shadow: 0 8px 18px rgba(0, 47, 167, 0.22);
  cursor: pointer;
}

.mine-pwd__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.login-layout-body .login-shell {
  padding-top: 1.1rem;
  padding-bottom: 0.75rem;
}
html.qh-native-fullscreen .login-layout-body .login-shell {
  padding-top: 0.7rem;
}
.login-shell-body,
html.qh-native-fullscreen .login-shell-body {
  justify-content: flex-start;
  padding-top: 0.15rem;
}
.login-kb-open .login-logo-wrap,
.login-kb-open .login-shell-foot,
.login-kb-open .login-privacy {
  display: none;
}
.student-login-form .student-login-btn {
  touch-action: manipulation;
}
.login-closed {
  display: grid;
  gap: 1rem;
  justify-items: center;
  margin-top: 0.5rem;
}
