/* Shared event-world styling for functional pages. The supplied card artwork
   and the hall's existing masonry sizing are intentionally left untouched. */
:is(#page-register, #page-success, #page-card-form, #page-card-result, #page-submission, #page-my, #page-teams, #page-notifications, #page-admin, #page-privacy) {
  background: var(--paper, #f1f7fb);
  color: var(--ink, #193655);
}
:is(#page-register, #page-card-form, #page-submission, #page-my, #page-notifications) .page-shell {
  padding-top: 28px;
  padding-bottom: 88px;
}
:is(#page-register, #page-card-form, #page-submission, #page-my, #page-notifications) .page-head-row { margin-bottom: 32px; }
:is(#page-register, #page-card-form, #page-submission, #page-my, #page-notifications) .page-title {
  font-family: inherit;
  font-size: clamp(30px, 3.3vw, 44px);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.2;
  color: var(--ink);
}
:is(#page-register, #page-card-form, #page-submission, #page-my, #page-notifications) .page-kicker {
  color: #52728e;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .14em;
  margin-bottom: 12px;
}
:is(#page-register, #page-card-form, #page-submission, #page-my, #page-notifications) .page-subtitle {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.9;
  margin-top: 13px;
}
:is(#page-register, #page-card-form, #page-submission, #page-my, #page-notifications) .back-button {
  background: transparent;
  border-color: transparent;
  padding-left: 0;
  color: #526c83;
  margin-bottom: 24px;
}
:is(#page-register, #page-card-form, #page-submission) .form-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 8px 36px #24486905;
  background: #fff;
  overflow: hidden;
}
:is(#page-register, #page-card-form, #page-submission) .form-panel-head {
  padding: 27px 30px 23px;
  color: var(--ink);
  background: #fff;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
:is(#page-register, #page-card-form, #page-submission) .form-panel-head h2 {
  font-family: inherit;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -.025em;
}
:is(#page-register, #page-card-form, #page-submission) .form-panel-head p { color: var(--ink-2); font-size: 13px; line-height: 1.8; }
:is(#page-register, #page-card-form, #page-submission) .form-panel-body { padding: 28px 30px; }
:is(#page-register, #page-card-form, #page-submission) .form-section + .form-section { margin-top: 32px; padding-top: 28px; }
:is(#page-register, #page-card-form, #page-submission) .form-section-title {
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
}
:is(#page-register, #page-card-form, #page-submission) .form-section-title::before { background: #66b9ef; width: 5px; height: 17px; border-radius: 5px; }
:is(#page-register, #page-card-form, #page-submission) .form-actions { background: #f8fbfd; padding: 22px 30px; }
:is(#page-register, #page-card-form, #page-submission, #loginModal, #teamDialog) .form-field label { color: var(--ink); font-weight: 600; font-size: 14px; margin-bottom: 9px; }
:is(#page-register, #page-card-form, #page-submission, #loginModal, #teamDialog) .form-field :is(input:not([type=checkbox]):not([type=radio]):not([type=file]), textarea, select),
#loginModal #loginCode {
  border: 1px solid #d3e0ea;
  background: #fbfdff;
  color: var(--ink);
  border-radius: 12px;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  box-shadow: none;
  font-size: 14px;
}
:is(#page-register, #page-card-form, #page-submission, #loginModal, #teamDialog) .form-field :is(input, textarea)::placeholder { color: #5c7489; }
:is(#page-register, #page-card-form, #page-submission, #loginModal, #teamDialog) .form-field :is(input, textarea, select):focus,
#loginModal #loginCode:focus { border-color: #66a9db; outline: 0; box-shadow: 0 0 0 3px #3997d817; }
:is(#page-register, #page-card-form, #page-submission, #loginModal, #teamDialog) .form-field.invalid :is(input, textarea, select) { border-color: var(--red); background: #fff8f6; }
:is(#page-register, #page-card-form, #page-submission) .choice-chip {
  padding: 9px 16px;
  border-radius: 999px;
  background: #f7fafc;
  border: 1px solid var(--line);
  color: #51677d;
  font-weight: 550;
}
:is(#page-register, #page-card-form, #page-submission) .choice-chip.selected { background: var(--navy); border-color: var(--navy); color: #fff; }
:is(#page-register, #page-card-form) .purpose-option { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 18px; }
:is(#page-register, #page-card-form) .purpose-option.selected { border: 1px solid #6db5e7; background: #ecf7ff; box-shadow: inset 0 0 0 1px #6db5e7; }
:is(#page-register, #page-card-form) .purpose-option b { color: var(--ink); font-weight: 650; }
:is(#page-register, #page-card-form, #page-submission) .check-row { background: #f8fbfd; border: 1px solid var(--line); border-radius: 12px; padding: 16px; line-height: 1.9; }
#page-card-form .roster-consent { border: 1px solid var(--line); border-radius: 16px; padding: 20px !important; background: #eef7fd; }
:is(#page-register, #page-card-form, #page-submission) .inline-note { border-radius: 12px; line-height: 1.85; }
:is(#page-register, #page-submission) .upload-box { background: #f5faff; border: 1px dashed #a9c7df; border-radius: 16px; }
:is(#page-register, #page-submission, #page-success) :is(.summary-list, .file-pill) { border-radius: 14px; }
#page-register .phase-strip { background: #fff; border-radius: 20px; border-color: var(--line); }
#page-register .phase-item { padding: 20px; }
#page-register .progress-steps { margin: 30px auto; max-width: 900px; }
#page-register .progress-dot { width: 34px; height: 34px; border-width: 1px; }
#page-register .progress-step::after { top: 17px; height: 1px; }
#page-register .progress-label { font-size: 13px; margin-top: 10px; }
#page-card-form .card-preview-column { top: 126px; }
#page-card-form .preview-label { color: #536d85; font-size: 12px; margin-bottom: 14px; }
#page-card-result .card-result-stage { background: var(--paper); }
#page-card-result .guild-detail-field { border: 1px solid var(--line); border-radius: 16px; background: #fff; }
#page-card-result .guild-detail-field h3 { font-family: inherit; font-size: 17px; font-weight: 650; color: var(--ink); }
#page-card-result .card-full-text { color: var(--ink); }

/* Compact notice board: original image edges stay visible, without a frame. */
#page-teams .guild-hero { background: transparent; border-bottom: 0; overflow: visible; }
#page-teams .guild-hero-inner { max-width: 1210px; padding: 13px 24px 19px; }
#page-teams .guild-hero-copy { gap: 24px; }
#page-teams .guild-hero h1 { font-family: inherit; font-size: 28px; font-weight: 750; color: var(--ink); letter-spacing: -.035em; }
#page-teams .guild-hero h1 span { font-family: inherit; font-size: 13px; font-weight: 450; color: #637c91; letter-spacing: 0; }
#page-teams .guild-main { padding-top: 2px; }
#page-teams .guild-tabs { border-bottom: 1px solid var(--line); gap: 8px; min-height: 53px; }
#page-teams .guild-tabs button {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: #587189;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  margin-bottom: 9px;
  padding: 10px 15px;
}
#page-teams .guild-tabs button[aria-selected=true] { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: 0 2px 6px #19365504; }
#page-teams .guild-tabs svg { width: 17px; height: 17px; }
#page-teams .guild-board .team-toolbar { padding-top: 0; gap: 8px; }
#page-teams .guild-search { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
#page-teams .guild-search:focus-within { border-color: #66a9db; box-shadow: 0 0 0 3px #3997d817; }
#page-teams .guild-search input { font-size: 12px; min-height: 42px; color: var(--ink) !important; }
#page-teams .guild-board .team-toolbar select { border: 1px solid var(--line); border-radius: 12px; color: var(--ink-2); min-height: 42px; padding: 9px 10px; font-size: 12px; max-width: 125px; }
#page-teams .guild-board-heading { margin: 12px 0 14px; }
#page-teams .guild-board-heading h2 { font-family: inherit; font-size: 14px; font-weight: 600; color: #526d84; }
#page-teams .guild-board-heading > span { font-size: 11px; color: #5c7489; }
#page-teams :is(.btn, .guild-small), #page-notifications .btn, #page-card-form .btn, #teamDialog .btn {
  border-radius: 999px;
  box-shadow: none;
  font-family: inherit;
  font-weight: 600;
  border-width: 1px;
}
#page-teams .btn.primary, #page-notifications .btn.primary, #page-card-form .btn.primary, #teamDialog .btn.primary { background: var(--navy); color: #fff; border: 1px solid var(--navy); box-shadow: none; }
#page-teams .btn.primary:hover, #page-notifications .btn.primary:hover, #page-card-form .btn.primary:hover, #teamDialog .btn.primary:hover { background: #285481; border-color: #285481; transform: none; }
#page-teams .btn.ghost, #page-notifications .btn.ghost, #page-card-form .btn.ghost, #teamDialog .btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
#page-teams .guild-art-actions { padding-top: 11px; }
#page-teams .guild-art-actions .btn { font-size: 13px; }
#page-teams .guild-art-actions .btn:disabled { background: #e1eaf1; color: #6c8092; border-color: transparent; opacity: 1; }
#page-teams .guild-empty-inline { border: 1px dashed #bed1df; border-radius: 20px; padding: 36px 24px; background: #fff8; text-align: center; }

/* Intent mail, with clear unread state and a single path to the sender's art. */
#page-notifications .inbox-shell { max-width: 1020px; }
#page-notifications .inbox-heading { margin-bottom: 34px; }
#page-notifications .inbox-heading > svg { width: 64px; height: 64px; color: #74b6e3; stroke-width: 1.2; }
#page-notifications .inbox-heading p { color: var(--ink-2); }
#page-notifications .inbox-toolbar { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
#page-notifications .inbox-filters { background: #e6eff5; border-radius: 999px; padding: 4px; }
#page-notifications .inbox-filters button { border: 0; border-radius: 999px; background: transparent; color: #617789; font-size: 13px; padding: 9px 18px; }
#page-notifications .inbox-filters button[aria-pressed=true] { background: #fff; color: var(--ink); box-shadow: 0 2px 5px #254d6710; }
#page-notifications .inbox-item { border: 1px solid var(--line); border-radius: 20px; padding: 25px; margin-bottom: 14px; box-shadow: none; background: #fff; color: var(--ink); transition: border-color .18s, background .18s; }
#page-notifications .inbox-item.unread { background: #f9fcff; border-color: #a9cee9; box-shadow: inset 3px 0 0 #6cb8ed; }
#page-notifications .inbox-item:hover { background: #eef7fd; border-color: #a9cee9; }
#page-notifications .inbox-icon { border: 0; border-radius: 14px; background: #e9f4fc; color: #387aaa; width: 48px; height: 48px; }
#page-notifications .inbox-kind { color: #5c7489; }
#page-notifications .inbox-unread { padding: 2px 7px; background: #1e77b5; border-radius: 999px; font-weight: 550; }
#page-notifications .inbox-item strong { font-size: 16px; font-weight: 650; }
#page-notifications :is(.inbox-meta, .inbox-note) { color: #5c7489; }
#page-notifications .guild-empty { background: #fff; border: 1px dashed #bed1df; border-radius: 24px; }
#page-notifications .guild-empty h3 { font-family: inherit; font-size: 23px; font-weight: 650; }

/* Profile, completion and submission follow the same quiet form language. */
#page-my .my-layout { gap: 28px; }
#page-my .my-profile { background: #e5f2fb; color: var(--ink); border-color: #d0e5f4; border-radius: 24px; overflow: hidden; }
#page-my .my-profile-head { padding: 28px; }
#page-my .my-profile-head p, #page-my .my-profile-meta span { color: #4f6b81; }
#page-my .my-avatar { width: 64px; height: 64px; color: var(--navy); background: #fff; border: 1px solid #d2e5f3; }
#page-my .my-profile-meta { padding: 20px 28px 26px; border-color: #cedfeb; gap: 13px; }
#page-my .status-timeline { border-radius: 24px; overflow: hidden; }
#page-my .status-row { padding: 26px 24px; }
#page-my .status-number { width: 36px; height: 36px; background: #e9f2f8; color: #527594; }
#page-my .status-copy span { margin-top: 7px; line-height: 1.7; }
#page-success .success-hero { padding: 48px 24px; background: #e0f0fc; color: var(--ink); }
#page-success .success-hero::after { display: none; }
#page-success .success-icon { color: #286c59; background: #fff; border: 1px solid #c8e1da; box-shadow: none; }
#page-success .success-hero h1 { color: var(--ink); font-weight: 750; letter-spacing: -.03em; }
#page-success .success-hero p { color: #56768f; }
#page-success .reg-number { background: #ffffffb3; border-color: #cee0ed; border-radius: 16px; }
#page-success .reg-number span { color: #657e93; }
#page-success .reg-number b { color: var(--ink); }
#page-success .gate { border: 1px solid var(--line); border-radius: 24px; box-shadow: none; padding: 30px; }
#page-success .gate.featured { background: #fff; }
#page-success .gate.demo { background: #f8fbfd; }
#page-success .gate-icon { border-radius: 14px; }
#page-submission .submission-aside { top: 126px; border-radius: 20px; overflow: hidden; }
#page-submission .submission-aside-head { padding: 23px 22px 19px; background: #eaf5fd; }
#page-submission .submission-check li { padding-top: 16px; padding-bottom: 16px; font-size: 13px; }
#page-submission .submission-check li::before { top: 21px; border-radius: 50%; }
#page-submission .submission-aside-foot { padding: 20px 22px; line-height: 1.8; }
#page-submission .member-block { border-radius: 16px; }
#page-submission .member-block-head { background: #f3f8fc; padding: 14px 18px; }
#page-submission .member-block-body { padding: 18px; }
#page-submission .submission-unavailable { border-radius: 24px; }

/* Dialog chrome surrounds, but never alters, the supplied art canvas. */
#teamDialog { border: 1px solid #d7e5ee; border-radius: 24px; padding: 36px; color: var(--ink); background: #f9fcfe; box-shadow: 0 24px 90px #1936552b; }
#teamDialog::backdrop { background: #19365570; backdrop-filter: blur(6px); }
#teamDialog .dialog-x { top: 11px; right: 11px; width: 34px; height: 34px; border-radius: 50%; background: #e9f2f8; color: var(--ink); display: grid; place-items: center; line-height: 1; }
#teamDialog h2 { color: var(--ink); letter-spacing: -.025em; font-size: 26px; }
#teamDialog .guild-form-intro { color: #5c7489; font-size: 13px; margin-bottom: 24px; }
#teamDialog #teamForm h3 { font-family: inherit; font-size: 18px; font-weight: 700; color: var(--ink); border-top: 1px solid var(--line); padding-top: 25px; margin: 27px 0 18px; }
#teamDialog .guild-role-field { border: 1px solid var(--line); border-radius: 14px; padding: 13px; }
#teamDialog .guild-role-field legend { color: #587189; font-weight: 550; }
#teamDialog .team-tag { border: 1px solid #d2e1ed; background: #ecf5fc; border-radius: 999px; color: var(--ink); padding: 8px 12px; }
#teamDialog .guild-role-field input { accent-color: var(--navy); }
#teamDialog :is(.guild-detail-field, .notification-context) { background: #eef7fd; border: 1px solid #d7e8f4; border-radius: 16px; }
#teamDialog .guild-detail-field h3 { font-family: inherit; font-size: 17px; font-weight: 650; }
#teamDialog .guild-notification-context { background: #eaf5fd; border-radius: 14px; padding: 14px 18px; margin-bottom: 22px; }
#teamDialog .dialog-actions { padding-top: 8px; }
#loginModal { background: #15365966; backdrop-filter: blur(8px); }
#loginModal .login-modal { border-radius: 28px; box-shadow: 0 30px 100px #19365540; width: min(880px, 100%); }
#loginModal .login-visual { background: #dcedfa; color: var(--ink); padding: 38px 30px 150px; }
#loginModal .login-visual::after { left: 0; right: 0; bottom: -8px; height: 200px; background: url('/visual/drum-tower.png') center bottom / 115% auto no-repeat, url('/visual/clouds-display.png') center top / auto 180px no-repeat; opacity: 1; }
#loginModal .login-pixel { background: #f9da48; color: #204b73; border: 0; border-radius: 16px; box-shadow: none; font-size: 19px; width: 78px; height: 78px; }
#loginModal .login-visual h2 { font-size: 28px; margin-top: 28px; letter-spacing: -.035em; }
#loginModal .login-visual p { color: #4f6b81; font-size: 13px; line-height: 1.85; }
#loginModal .login-form { padding: 44px 38px 34px; }
#loginModal .login-form h3 { color: var(--ink); font-size: 22px; font-weight: 700; margin: 0 0 27px; letter-spacing: -.03em; }
#loginModal .agreement { line-height: 1.9; margin-top: 23px; color: #5c7489; }
#loginModal .modal-close { background: #f0f6fa; top: 13px; right: 13px; }

/* Completion uses the exact exported PNG, scaled to keep the entire art visible. */
body.card-completion-open { overflow: hidden; }
#cardCompletionDialog { width: min(540px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: #f9fcfe; color: var(--ink); }
#cardCompletionDialog[open] { display: flex; flex-direction: column; gap: 16px; }
#cardCompletionDialog::backdrop { background: #19365580; backdrop-filter: blur(6px); }
.card-completion-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#cardCompletionTitle { margin: 0; font-size: 20px; line-height: 1.5; font-weight: 650; letter-spacing: -.025em; }
#cardCompletionTitle:focus { outline: none; }
#cardCompletionDialog .dialog-x { position: static; flex: 0 0 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #e9f2f8; line-height: 1; }
.card-completion-preview { display: grid; place-items: center; width: min(100%, max(180px, calc((100svh - 300px) * .726))); aspect-ratio: 3780 / 5208; margin-inline: auto; flex: 0 0 auto; }
.card-completion-preview > * { grid-area: 1 / 1; }
#downloadCompletedCard[aria-disabled='true'] { opacity: .55; cursor: progress; }
#completedCardImage { width: 100%; height: auto; max-width: 100%; max-height: calc(100dvh - 204px); object-fit: contain; border: 0; border-radius: 0; box-shadow: none; }
#completedCardStatus { margin: 36px 0; color: var(--ink-2); font-size: 14px; }
.card-completion-actions { display: flex; justify-content: center; }
#cardCompletionDialog .btn { min-height: 44px; border-radius: 999px; font-weight: 600; box-shadow: none; text-decoration: none; }
#cardCompletionDialog .btn.primary { background: var(--navy); color: #fff; border: 1px solid var(--navy); padding: 11px 32px; }
#cardCompletionDialog .btn.primary:hover { background: #285481; }
#cardCompletionDialog [hidden] { display: none !important; }
@media (max-width: 480px) {
  #cardCompletionDialog { padding: 16px; gap: 14px; }
  #cardCompletionTitle { font-size: 18px; }
}

/* Partner detail pages continue the homepage's editorial scale and sky palette. */
:is(#page-organizer-ihuntu, #page-organizer-happy-elements) { background: var(--paper-2); }
:is(#page-organizer-ihuntu, #page-organizer-happy-elements) .company-hero { background: #e0f1ff; color: var(--ink); padding: 64px 28px; border-bottom: 1px solid #d1e5f4; }
#page-organizer-happy-elements .company-hero { background: #e5f5ef; border-bottom-color: #d5e9df; }
:is(#page-organizer-ihuntu, #page-organizer-happy-elements) .company-hero::after { display: none; }
:is(#page-organizer-ihuntu, #page-organizer-happy-elements) .company-hero-inner { max-width: 1120px; gap: 42px; }
:is(#page-organizer-ihuntu, #page-organizer-happy-elements) .company-hero-mark { border: 1px solid #ffffff; border-radius: 32px; background: #ffffffa6; color: var(--navy); box-shadow: none; }
:is(#page-organizer-ihuntu, #page-organizer-happy-elements) .company-hero h1 { color: var(--ink); font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -.045em; font-weight: 750; }
:is(#page-organizer-ihuntu, #page-organizer-happy-elements) .company-hero p { color: #4f6b81; line-height: 1.9; font-size: 16px; }
:is(#page-organizer-ihuntu, #page-organizer-happy-elements) .company-hero-kicker { color: #4f6b81; font-size: 11px; letter-spacing: .1em; }
:is(#page-organizer-ihuntu, #page-organizer-happy-elements) .company-hero-badge { color: #4f6b81; border: 1px solid #c1dcec; background: #ffffff60; border-radius: 999px; font-weight: 500; }
:is(#page-organizer-ihuntu, #page-organizer-happy-elements) .company-page { max-width: 1120px; padding: 66px 24px 90px; }
:is(#page-organizer-ihuntu, #page-organizer-happy-elements) .company-section { padding-top: 44px; padding-bottom: 44px; border-color: var(--line); gap: 54px; }
:is(#page-organizer-ihuntu, #page-organizer-happy-elements) .company-section h2 { font-size: 29px; letter-spacing: -.03em; }
:is(#page-organizer-ihuntu, #page-organizer-happy-elements) .company-section-label { color: #52728e; font-size: 10px; letter-spacing: .15em; }
:is(#page-organizer-ihuntu, #page-organizer-happy-elements) .company-section-copy { color: var(--ink-2); font-size: 15px; line-height: 2; }
:is(#page-organizer-ihuntu, #page-organizer-happy-elements) .business-item { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 25px; }
:is(#page-organizer-ihuntu, #page-organizer-happy-elements) .company-role-placeholder { background: #eaf4fb; border: 1px solid #d7e7f2; border-radius: 20px; padding: 28px; color: #58728a; }
#page-privacy .legal { line-height: 1.95; padding-top: 40px; padding-bottom: 80px; }
#page-privacy .legal h1 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.04em; }
#page-privacy .legal h2 { font-size: 22px; color: var(--ink); }
#page-admin .notice { border-radius: 16px; }
#page-admin .form-field input { width: 100%; min-width: 0; min-height: 48px; border: 1px solid #d3e0ea; border-radius: 12px; padding: 12px 14px; background: #fff; color: var(--ink); }
#page-admin .form-field input:focus { border-color: #66a9db; outline: 0; box-shadow: 0 0 0 3px #3997d817; }
#page-admin #eventForm { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
#page-admin #eventForm .check-row { margin: 24px 0; }

@media (max-width: 960px) {
  #page-teams .guild-hero-copy { gap: 16px; }
  #page-teams .guild-hero h1 span { display: none; }
  #page-teams .guild-board .team-toolbar { padding: 12px 0 0; }
  #page-teams .guild-board .team-toolbar select { max-width: 150px; }
  #page-my .status-row { grid-template-columns: 40px minmax(0, 1fr); }
  #page-my .status-actions { grid-column: 2; justify-content: flex-start; }
  #page-card-form .card-preview-column { position: static; }
}
@media (min-width: 701px) and (max-width: 820px) {
  #loginModal .login-visual { padding: 26px 32px; }
  #loginModal .login-visual::after { display: none; }
  #loginModal .login-pixel { float: left; margin-right: 22px; }
  #loginModal .login-visual h2 { margin: 3px 24px 10px 0; }
  #loginModal .login-visual p { max-width: 570px; }
  #loginModal .login-form { padding-top: 30px; }
}
@media (max-width: 700px) {
  :is(#page-register, #page-card-form, #page-submission, #page-my, #page-notifications) .page-shell { padding: 20px 18px 60px; }
  :is(#page-register, #page-card-form, #page-submission, #page-my, #page-notifications) .page-head-row { margin-bottom: 25px; }
  :is(#page-register, #page-card-form, #page-submission) :is(.form-panel-head, .form-panel-body, .form-actions) { padding-left: 21px; padding-right: 21px; }
  :is(#page-register, #page-card-form, #page-submission) .form-panel { border-radius: 20px; }
  :is(#page-register, #page-card-form, #page-submission) .form-panel-head h2 { font-size: 21px; }
  #page-register .phase-item { padding: 16px 11px; }
  #page-admin #eventForm { padding: 20px; border-radius: 20px; }
  #page-my .status-row { padding: 24px 20px; }
  #page-notifications .inbox-heading > svg { display: none; }
  #page-notifications .inbox-item { padding: 20px 16px; border-radius: 16px; gap: 13px; }
  #page-notifications .inbox-icon { width: 39px; height: 39px; border-radius: 12px; }
  #page-notifications .inbox-item strong { font-size: 14px; }
  #page-notifications .inbox-filters button { padding: 8px 14px; }
  #teamDialog { padding: 32px 18px 24px; border-radius: 20px; width: calc(100vw - 20px); }
  #teamDialog h2 { font-size: 23px; }
  #loginModal { padding: 12px; }
  #loginModal .login-modal { border-radius: 24px; grid-template-columns: 1fr; max-height: 94dvh; }
  #loginModal .login-visual { padding: 26px 27px; }
  #loginModal .login-visual::after { display: none; }
  #loginModal .login-pixel { width: 50px; height: 50px; min-height: 50px; min-width: 50px; border-radius: 12px; font-size: 13px; float: left; margin-right: 17px; }
  #loginModal .login-visual h2 { margin: 4px 34px 12px 0; font-size: 23px; }
  #loginModal .login-visual p { clear: both; padding-top: 8px; }
  #loginModal .login-form { padding: 27px; }
  #loginModal .login-form h3 { font-size: 21px; margin-bottom: 22px; }
  :is(#page-organizer-ihuntu, #page-organizer-happy-elements) .company-hero { padding: 40px 22px; }
  :is(#page-organizer-ihuntu, #page-organizer-happy-elements) .company-hero-inner { gap: 24px; }
  :is(#page-organizer-ihuntu, #page-organizer-happy-elements) .company-hero-mark { width: 88px; height: 88px; font-size: 37px; border-radius: 24px; }
  :is(#page-organizer-ihuntu, #page-organizer-happy-elements) .company-page { padding: 40px 22px 60px; }
  :is(#page-organizer-ihuntu, #page-organizer-happy-elements) .company-section { gap: 19px; padding-top: 30px; padding-bottom: 30px; }
  :is(#page-organizer-ihuntu, #page-organizer-happy-elements) .company-section h2 { font-size: 26px; }
}
@media (max-width: 620px) {
  #page-teams .guild-hero-inner { padding: 15px 18px 19px; }
  #page-teams .guild-hero h1 { font-size: 28px; }
  #page-teams .guild-hero-actions { gap: 8px; margin-top: 16px; }
  #page-teams .guild-hero-actions .btn { padding: 10px 12px; font-size: 12px; }
  #page-teams .guild-main { padding: 0 18px 44px; }
  #page-teams .guild-tabs { gap: 4px; }
  #page-teams .guild-tabs button { padding: 10px 13px; }
  #page-teams .guild-board .team-toolbar select { max-width: none; }
  #page-teams .guild-board-heading { margin-top: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  #page-notifications .inbox-item { transition: none; }
}
