/* ice-corner.css */
/* Toby’s little corner: book, letter, and parcel on the homepage. */
.ice-corner {
  --corner-label: clamp(1.5rem, 1.3rem + .3vw, 1.625rem);
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: var(--space-12);
  padding: var(--space-5) 0 var(--space-2);
  border-top: 1px solid color-mix(in srgb, var(--concept-ink) 16%, transparent);
}
.ice-corner-intro { flex: 1; min-width: 0; }
.ice-corner-intro .eyebrow {
  font-size: var(--text-xs);
  color: var(--concept-muted);
  letter-spacing: .07em;
  margin-bottom: var(--space-3);
}
.ice-corner-intro h2 {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 1.3rem + .75vw, 2rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.2;
}
.ice-corner-intro > p:last-child {
  color: var(--concept-muted);
  font-size: var(--text-sm);
  margin-top: var(--space-3);
}
.ice-object-shelf {
  width: 62%;
  max-width: 720px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: var(--space-10);
  clip-path: inset(-16px -24px -24px);
}
.ice-object-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  flex: 1;
  border-radius: 8px;
  position: relative;
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.ice-object-space {
  height: 120px;
  width: 100%;
  position: relative;
  perspective: 700px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
}
.ice-object-space::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 112px;
  height: 12px;
  bottom: 2px;
  background: color-mix(in srgb, var(--concept-ink) 12%, transparent);
  filter: blur(7px);
  border-radius: 50%;
  transition: transform .5s var(--ease), opacity .5s;
}
.ice-object-label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-hand);
  font-size: var(--corner-label);
  font-weight: 500;
  line-height: 1.25;
  min-height: 32px;
  margin-top: 10px;
  white-space: nowrap;
}
.ice-object-label::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 1px;
  border-radius: 50%;
  background: currentColor;
  opacity: .5;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.ice-object {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  flex: none;
  transform-style: preserve-3d;
  transition: transform .6s var(--ease), filter .6s;
  will-change: transform;
}
.ice-object-link:focus,
.ice-object-link:focus-visible { outline: none; }
@media (hover: hover) and (pointer: fine) {
  .ice-object-link:hover .ice-object,
  .ice-object-link:focus-visible .ice-object {
    transform: translateY(-6px) rotateX(var(--rx)) rotateY(var(--ry)) rotate(0deg);
    filter: drop-shadow(0 10px 8px color-mix(in srgb, var(--concept-ink) 10%, transparent));
  }
  .ice-object-link:hover .ice-object-space::after,
  .ice-object-link:focus-visible .ice-object-space::after {
    transform: scale(.85);
    opacity: .55;
  }
  .ice-object-link:hover .ice-object-label::after,
  .ice-object-link:focus-visible .ice-object-label::after { transform: scaleX(1); }
  .ice-object-link:focus-visible {
    outline: 3px solid var(--concept-accent);
    outline-offset: 4px;
  }
}

.ice-corner .book { width: 80px; height: 100px; transform: rotate(-9deg) rotateY(-15deg); }
.ice-corner .book-pages {
  position: absolute; inset: 3px -6px -1px 6px; border-radius: 2px 5px 5px 2px;
  background: repeating-linear-gradient(0deg, #f7f6ee 0 2px, #dcded9 2px 3px);
  border: 1px solid #bfc7c8; box-shadow: 2px 4px 5px #143a561f;
}
.ice-corner .book-cover {
  position: absolute; inset: 0; background: #315b76; color: #e5eef1;
  border-radius: 2px 5px 5px 2px; transform-origin: 0 50%;
  transition: transform .65s var(--ease); padding: 12px 8px 8px 14px;
  box-shadow: inset 3px 0 3px #122e3f80, inset 5px 0 1px #739bb05c, inset 0 0 1px #fff;
}
.ice-corner .book-cover::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; opacity: .13;
  background: repeating-linear-gradient(93deg, transparent 0 1px, #dce3e3 1px 2px);
  pointer-events: none;
}
.ice-corner .book-kicker { display: block; font-size: 6px; letter-spacing: .12em; }
.ice-corner .book-title { display: block; font-weight: 500; font-size: 20px; line-height: .95; letter-spacing: -.04em; margin-top: 6px; }
.ice-corner .book-line { display: block; width: 21px; height: 1px; background: #c0d6dd; margin-top: 8px; }
.ice-corner .book-bottom { display: block; font-size: 4.5px; letter-spacing: .035em; margin-top: 8px; }
.ice-corner .bookmark {
  width: 9px; height: 16px; position: absolute; right: 11px; top: 92px;
  background: #e4bd8a; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 75%, 0 100%);
}
@media (hover: hover) and (pointer: fine) {
  .ice-guide-link:hover .book-cover,
  .ice-guide-link:focus-visible .book-cover { transform: rotateY(-28deg); }
}

.ice-corner .envelope { width: 127px; height: 86px; transform: rotate(6deg); }
.ice-corner .envelope-back {
  position: absolute; inset: 3px -4px -4px 3px; background: #dfded3; border: 1px solid #d2d2c5; border-radius: 3px;
}
.ice-corner .envelope-front {
  position: absolute; z-index: 2; inset: 0; border-radius: 3px;
  background: #f3f0e6;
  border: 1px solid #dedbd1;
  box-shadow: 1px 4px 6px #243c4620;
}
.ice-corner .envelope-to {
  position: absolute; left: 16px; bottom: 16px; font-family: var(--font-hand);
  color: #45616e; font-size: 18px; transform: rotate(-5deg);
}
.ice-corner .postage {
  width: 27px; height: 32px; position: absolute; top: 12px; right: 12px;
  padding: 2px; background: #dae9ed; border: 2px dotted #fffcf5; transform: rotate(5deg);
}
.ice-corner .postage img { object-fit: contain; width: 100%; height: 100%; }
.ice-corner .postmark {
  width: 28px; height: 28px; position: absolute; top: 20px; right: 32px;
  border: 1px solid #617a8950; border-radius: 50%;
}
.ice-corner .postmark::after {
  content: ''; position: absolute; top: 6px; left: -8px; width: 32px; height: 10px;
  border-block: 1px solid #617a8950; transform: rotate(-12deg);
}
.ice-corner .parcel { width: 108px; height: 84px; transform: rotate(-6deg); }
.ice-corner .parcel-front {
  position: absolute; inset: 0; background: #abc5d0; border-radius: 2px;
  border: 1px solid #819eae; box-shadow: inset 0 0 8px #dce5e855;
}
.ice-corner .parcel-side {
  position: absolute; width: 14px; right: -13px; top: -6px; bottom: 7px;
  transform: skewY(-40deg); background: #90afbf; border: 1px solid #7f9cac;
}
.ice-corner .parcel-lid {
  position: absolute; z-index: 2; left: 0; right: -1px; top: -13px; height: 15px;
  background: #cbdae0; transform: skewX(-44deg); transform-origin: 0 100%;
  border: 1px solid #91acb8; transition: transform .6s var(--ease);
}
.ice-corner .parcel-lid::after {
  content: ''; position: absolute; left: 38px; top: 0; bottom: 0; width: 18px;
  background: #678ca388; border-inline: 1px solid #65869a55;
}
.ice-corner .parcel-tape {
  width: 18px; height: 30px; position: absolute; left: 38px; top: 0;
  background: #678ca380; border-inline: 1px solid #65869a55;
  clip-path: polygon(0 0,100% 0,100% 100%,80% 91%,65% 100%,40% 92%,25% 100%,0 94%);
}
.ice-corner .parcel-label {
  display: block; position: absolute; background: #f1f1e9; color: #335166;
  left: 14px; bottom: 8px; padding: 4px 6px; width: 58px; transform: rotate(3deg);
  font-weight: 600; font-size: 15px; line-height: 1;
}
.ice-corner .parcel-label small { display: block; font-size: 4.5px; letter-spacing: .02em; margin-top: 4px; }
.ice-corner .barcode {
  display: block; height: 7px; margin-top: 4px; width: 33px; opacity: .7;
  background: repeating-linear-gradient(90deg, #335166 0 1px, transparent 1px 2px, #335166 2px 4px, transparent 4px 6px);
}
@media (hover: hover) and (pointer: fine) {
  .ice-vendor-link:hover .parcel-lid,
  .ice-vendor-link:focus-visible .parcel-lid { transform: translateY(-10px) skewX(-44deg) rotate(-9deg); }
}

.ice-footer { padding-block: 8px 20px; }
.ice .ice-page-dialog {
  --corner-paper: #fffdfa;
  --corner-field: #f7f4ec;
  --corner-border: color-mix(in srgb, var(--concept-ink) 16%, transparent);
  margin: auto;
  padding: 0;
  width: min(900px, calc(100vw - 64px));
  max-height: min(790px, calc(100dvh - 80px));
  border: 0;
  border-radius: 12px;
  color: var(--concept-ink);
  background: var(--corner-paper);
  overflow: hidden;
  box-shadow: 0 36px 120px color-mix(in srgb, var(--concept-ink) 28%, transparent);
}
html[data-theme="dark"] .ice .ice-page-dialog {
  --corner-paper: color-mix(in srgb, var(--concept-bg) 82%, #1a2430);
  --corner-field: color-mix(in srgb, var(--concept-ink) 8%, var(--concept-bg));
}
.ice-page-dialog::backdrop {
  background: rgb(9 20 28 / .42);
  backdrop-filter: blur(9px);
}
.ice-page-dialog[open] { animation: ice-corner-in .45s var(--ease); }
.ice-page-dialog[open]::backdrop { animation: ice-corner-backdrop .45s var(--ease); }
.ice-page-dialog.is-sheet[open],
.ice-page-dialog.is-sheet-dragging { animation: none; }
.ice-sheet-handle { display: none; }
.ice-panel-close-label { display: none; }
.ice-panel-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  grid-template-rows: minmax(0, 1fr);
  min-height: min(620px, calc(100dvh - 80px));
  max-height: min(790px, calc(100dvh - 80px));
}
.ice-panel-cover {
  position: relative;
  overflow: hidden;
  background: #315b76;
  color: #edf5f7;
  padding: var(--space-8);
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.ice-panel-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(92deg, transparent 0 1px, #c6d7dd 1px 2px);
  opacity: .045;
}
.ice-panel-edition, .ice-cover-bottom {
  font-size: var(--text-xs);
  letter-spacing: .09em;
  position: relative;
  z-index: 1;
}
.ice-panel-cover-copy { margin-top: var(--space-24); position: relative; z-index: 1; }
.ice-panel-cover-copy > p:first-child { font-size: var(--text-sm); opacity: .8; margin-bottom: var(--space-4); }
.ice-cover-title { font-size: var(--text-2xl, 2rem); font-weight: 500; line-height: 1.13; letter-spacing: -.045em; }
.ice-cover-note {
  font-family: var(--font-hand);
  font-size: var(--text-xl);
  display: block;
  margin-top: var(--space-6);
  transform: rotate(-7deg);
  opacity: .85;
}
.ice-cover-mascot { margin-top: auto; padding-top: var(--space-12); opacity: .9; }
.ice-cover-mascot img { object-fit: contain; filter: drop-shadow(0 10px 10px #183d4933); }
.ice-cover-bottom { margin-top: var(--space-6); letter-spacing: .04em; }
.ice-panel-paper { min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.ice-panel-topbar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-6) var(--space-3) var(--space-10);
  background: var(--corner-paper);
  border-bottom: 1px solid var(--corner-border);
  color: var(--concept-muted);
  font-size: var(--text-xs);
}
.ice-panel-close {
  background: transparent;
  border: 1px solid var(--corner-border);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  color: inherit;
  transition: background .18s, border-color .18s;
}
.ice-panel-close span { font-size: 25px; line-height: 1; transform: translateY(-2px); }
.ice-panel-close:hover { background: color-mix(in srgb, var(--concept-ink) 7%, transparent); }
.ice-panel-content { padding: var(--space-8) var(--space-10) var(--space-10); }
.ice-panel-content > .eyebrow { font-size: var(--text-xs); color: var(--concept-muted); margin-bottom: var(--space-3); }
.ice-panel-content h2 {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -.04em;
  outline: 0;
  line-height: 1.15;
}
.ice-panel-intro { margin-top: var(--space-4); color: var(--concept-muted); font-size: var(--text-sm); line-height: 1.65; }
.ice-guide-steps { margin: var(--space-8) 0; display: flex; flex-direction: column; gap: var(--space-6); }
.ice-guide-steps section { display: flex; align-items: start; gap: var(--space-4); }
.ice-step-number { font-size: var(--text-xs); color: var(--concept-muted); line-height: 25px; font-variant-numeric: tabular-nums; }
.ice-guide-steps h3 { font-size: var(--text-base); font-weight: 600; margin-bottom: var(--space-2); }
.ice-guide-steps p { font-size: var(--text-sm); color: var(--concept-muted); line-height: 1.6; }
.ice-mini-message {
  font-size: var(--text-xs);
  border-radius: 12px 12px 12px 2px;
  background: color-mix(in srgb, var(--concept-bg) 70%, var(--corner-paper));
  padding: var(--space-3);
  margin-top: var(--space-3);
  width: fit-content;
}
.ice-primary-button {
  min-height: 46px;
  padding: var(--space-3) var(--space-5);
  border-radius: 9px;
  background: var(--concept-accent);
  color: var(--concept-button-ink);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  font-size: var(--text-sm);
  border: 0;
  transition: filter .18s, box-shadow .18s;
}
.ice-primary-button:hover { filter: brightness(1.08); box-shadow: 0 3px 9px color-mix(in srgb, var(--concept-ink) 10%, transparent); }
.ice-primary-button:active { filter: brightness(.96); box-shadow: none; }
.ice-primary-button:disabled { opacity: .6; cursor: default; }
.ice-fine-print { font-size: var(--text-xs); color: var(--concept-muted); line-height: 1.55; margin-top: var(--space-3); }
.ice-paper-form { margin-top: var(--space-6); position: relative; }
.ice-field { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-5); }
.ice-field label, .ice-category-fieldset legend { font-size: var(--text-xs); font-weight: 500; }
.ice-field label span { color: var(--concept-muted); font-weight: 400; }
.ice-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.ice-field input, .ice-field textarea, .ice-paper-select-trigger {
  width: 100%;
  background: var(--corner-field);
  color: var(--concept-ink);
  border: 1px solid var(--corner-border);
  border-radius: 9px;
  padding: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  min-height: 46px;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.ice-field input:hover, .ice-field textarea:hover, .ice-paper-select-trigger:hover {
  border-color: color-mix(in srgb, var(--concept-ink) 35%, transparent);
}
.ice-field input::placeholder, .ice-field textarea::placeholder { color: var(--concept-muted); opacity: .8; }
.ice-field textarea { resize: vertical; min-height: 112px; }
.ice-field input:focus, .ice-field textarea:focus,
.ice-paper-select-trigger:focus-visible,
.ice-paper-select-trigger[aria-expanded="true"] {
  background: var(--corner-paper);
  border-color: var(--concept-accent);
  outline: 2px solid color-mix(in srgb, var(--concept-accent) 25%, transparent);
  outline-offset: 2px;
}
.ice-paper-select { position: relative; min-width: 0; }
.ice-paper-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  text-align: left;
  line-height: 1.5;
  cursor: pointer;
}
.ice-select-caret {
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  margin-right: var(--space-1);
  flex: none;
  color: var(--concept-muted);
  transition: transform .2s var(--ease);
}
.ice-paper-select-trigger[aria-expanded="true"] .ice-select-caret { transform: translateY(2px) rotate(225deg); }
.ice-paper-select-menu {
  position: absolute;
  z-index: 4;
  inset: calc(100% + 8px) 0 auto;
  list-style: none;
  margin: 0;
  padding: 5px;
  border: 1px solid var(--corner-border);
  border-radius: 12px;
  background: var(--corner-paper);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--concept-ink) 11%, transparent);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.ice-paper-select[data-placement="above"] .ice-paper-select-menu { inset: auto 0 calc(100% + 8px); }
.ice-paper-select-menu [role="option"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: var(--text-sm);
  line-height: 1.5;
  cursor: pointer;
}
.ice-paper-select-menu [role="option"].is-active { background: color-mix(in srgb, var(--concept-bg) 70%, var(--corner-paper)); }
.ice-paper-select-menu [role="option"][aria-selected="true"] { font-weight: 500; }
.ice-paper-select-menu [role="option"]::after {
  content: ''; width: 5px; height: 9px; margin: 0 4px 3px;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
  flex: none; opacity: 0;
}
.ice-paper-select-menu [role="option"][aria-selected="true"]::after { opacity: .85; }
.ice-onboarding-progress {
  display: flex; list-style: none; padding: 0; justify-content: space-between;
  gap: var(--space-2); margin: var(--space-6) 0 0;
}
.ice-onboarding-progress li { display: flex; gap: var(--space-2); align-items: center; font-size: var(--text-xs); color: var(--concept-muted); }
.ice-onboarding-progress li > span {
  border: 1px solid var(--corner-border); width: 23px; height: 23px;
  display: grid; place-items: center; border-radius: 50%;
}
.ice-onboarding-progress li.active { color: var(--concept-ink); font-weight: 500; }
.ice-onboarding-progress li.active > span { background: var(--concept-ink); color: var(--corner-paper); }
.ice-category-fieldset { padding: 0; border: 0; margin: 0 0 var(--space-6); }
.ice-category-fieldset legend { padding: 0; margin-bottom: var(--space-3); }
.ice-vendor-categories { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.ice-vendor-categories label { position: relative; cursor: pointer; }
.ice-vendor-categories input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ice-vendor-categories span {
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-3); border: 1px solid var(--corner-border); border-radius: 9px;
  background: var(--corner-field); font-size: var(--text-xs); min-height: 44px; text-align: center;
}
.ice-vendor-categories label:hover span { border-color: color-mix(in srgb, var(--concept-ink) 35%, transparent); }
.ice-vendor-categories input:checked + span {
  background: color-mix(in srgb, var(--concept-bg) 70%, var(--corner-paper));
  border-color: var(--concept-accent);
  box-shadow: inset 0 0 0 .5px var(--concept-accent);
}
.ice-vendor-categories input:focus-visible + span {
  outline: 2px solid color-mix(in srgb, var(--concept-accent) 25%, transparent);
  outline-offset: 2px;
}
.ice-form-actions { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); }
.ice-text-button { background: none; border: 0; font-size: var(--text-sm); min-height: 44px; padding: var(--space-2) 0; color: inherit; }
.ice-form-error { font-size: var(--text-sm); color: #9a3b2f; margin: 0 0 var(--space-4); }
.ice-review-state { padding-top: var(--space-6); }
.ice-review-state h3 { font-size: var(--text-lg); font-weight: 500; margin-bottom: var(--space-3); }
.ice-review-state > p { font-size: var(--text-sm); color: var(--concept-muted); margin-bottom: var(--space-5); }
.ice-review-card {
  padding: var(--space-5);
  background: color-mix(in srgb, var(--concept-bg) 70%, var(--corner-paper));
  border-radius: 8px;
  margin-bottom: var(--space-5);
  font-size: var(--text-sm);
  overflow-wrap: anywhere;
}
.ice-review-card dt { font-size: var(--text-xs); color: var(--concept-muted); margin-bottom: var(--space-1); }
.ice-review-card dd { margin: 0 0 var(--space-4); white-space: pre-wrap; }
.ice-review-card dd:last-child { margin-bottom: 0; }
.ice-page-dialog .hp-field {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0);
}
.ice-panel-shell[data-kind="contact"] .ice-panel-cover { background: #e8e4d8; color: #36566b; }
.ice-panel-shell[data-kind="vendors"] .ice-panel-cover { background: #aac5d0; color: #24495e; }
.ice-panel-shell[data-kind="contact"] .ice-panel-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(35deg, #d8d6ca 49.8%, transparent 50%) left bottom / 50% 40% no-repeat,
    linear-gradient(-35deg, #e0ddd2 49.8%, transparent 50%) right bottom / 50% 40% no-repeat;
}
.ice-panel-shell[data-kind="vendors"] .ice-panel-cover::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: 26px; width: 34px;
  background: #668da122;
  border-inline: 1px solid #668da115;
}

@keyframes ice-corner-in { from { opacity: 0; transform: translateY(28px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ice-corner-backdrop { from { opacity: 0; } to { opacity: 1; } }
@keyframes ice-sheet-up { from { transform: translateY(100%); } to { transform: none; } }

@media (max-width: 1050px) {
  .ice-corner { gap: var(--space-6); }
  .ice-corner-intro h2 { font-size: var(--text-lg); }
  .ice-corner-intro > p:last-child { max-width: 190px; }
  .ice-object-shelf { width: 62%; gap: var(--space-8); }
  .ice-object-space { height: 112px; }
  .ice-corner .envelope { width: 110px; height: 77px; }
  .ice-corner .book { width: 76px; height: 96px; }
  .ice-corner .bookmark { top: 88px; }
  .ice-corner .parcel { width: 93px; height: 78px; }
}
@media (max-height: 720px) and (min-width: 761px) {
  .ice-panel-cover { padding: var(--space-6); }
  .ice-panel-cover-copy { margin-top: var(--space-8); }
  .ice-cover-mascot { padding-top: var(--space-4); }
  .ice-cover-mascot img { width: 56px; height: 56px; }
  .ice-cover-bottom { margin-top: var(--space-3); }
}
@media (max-height: 560px) and (min-width: 761px) {
  .ice-cover-mascot, .ice-cover-bottom { display: none; }
}
@media (max-width: 760px) {
  .ice-corner { display: block; padding-top: var(--space-4); }
  .ice-corner-intro { margin-bottom: var(--space-5); }
  .ice-corner-intro h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .ice-corner-intro h2 br { display: none; }
  .ice-corner-intro > p:last-child { max-width: none; margin-top: var(--space-2); }
  .ice-corner-intro .eyebrow { margin-bottom: var(--space-2); }
  .ice-object-shelf { width: 100%; gap: var(--space-6); margin-inline: auto; max-width: 540px; }
  .ice-object-space { height: 104px; }
  .ice-corner .book { width: 70px; height: 90px; }
  .ice-corner .book-title { font-size: 18px; }
  .ice-corner .book-cover { padding-top: 10px; padding-left: 12px; }
  .ice-corner .book-bottom { font-size: 4px; }
  .ice-corner .bookmark { top: 83px; height: 14px; }
  .ice-corner .envelope { width: 99px; height: 71px; }
  .ice-corner .envelope-to { font-size: 16px; left: 12px; bottom: 12px; }
  .ice-corner .postage { width: 24px; height: 28px; top: 10px; right: 10px; }
  .ice-corner .postmark { top: 16px; right: 26px; }
  .ice-corner .parcel { width: 86px; height: 71px; }
  .ice-corner .parcel-label { left: 10px; bottom: 6px; transform: scale(.9) rotate(3deg); transform-origin: left bottom; }
  .ice-corner .parcel-tape, .ice-corner .parcel-lid::after { left: 31px; width: 16px; }
  .ice .ice-page-dialog {
    width: 100%;
    max-width: none;
    height: calc(100dvh - 56px);
    max-height: calc(100dvh - 56px);
    margin: auto 0 0;
    border-radius: 20px 20px 0 0;
    touch-action: pan-y;
    overscroll-behavior: contain;
  }
  .ice-page-dialog.is-sheet[open]::backdrop { animation: ice-corner-backdrop .28s var(--ease); }
  .ice-sheet-handle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 36px;
    margin: 0;
    background: transparent;
    flex: none;
  }
  .ice-sheet-handle::after {
    content: '';
    width: 42px;
    height: 5px;
    border-radius: 99px;
    background: color-mix(in srgb, var(--concept-ink) 22%, transparent);
  }
  .ice-panel-shell { display: flex; flex-direction: column; height: calc(100% - 36px); max-height: none; min-height: 0; }
  .ice-panel-cover { display: none; }
  .ice-panel-paper { height: 100%; touch-action: pan-y; }
  .ice-panel-topbar { padding: var(--space-2) var(--space-5) var(--space-3); }
  .ice-panel-close-icon { display: none; }
  .ice-panel-close-label { display: inline; }
  .ice-panel-close {
    width: auto;
    min-width: 44px;
    min-height: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
  }
  .ice-panel-content { padding: var(--space-6) var(--space-5) max(var(--space-10), calc(24px + env(safe-area-inset-bottom, 0px))); }
  .ice-panel-content h2 { font-size: var(--text-2xl, 2rem); }
  .ice-panel-intro { font-size: var(--text-base); }
  .ice-field-row { grid-template-columns: 1fr; gap: 0; }
  .ice-field input, .ice-field textarea, .ice-paper-select-trigger, .ice-paper-select-menu [role="option"] { font-size: 16px; }
  .ice-primary-button { min-height: 48px; width: 100%; justify-content: center; }
  .ice-form-actions { flex-wrap: wrap; }
  .ice-form-actions .ice-primary-button { flex: 1 1 160px; }
  .ice-form-actions .ice-text-button { min-height: 48px; min-width: 44px; }
  .ice-guide-steps p { font-size: var(--text-base); }
  .ice-guide-steps { gap: var(--space-8); }
  .ice-onboarding-progress { gap: var(--space-1); }
  .ice-onboarding-progress li { gap: var(--space-1); }
  .ice-onboarding-progress li > span { width: 21px; height: 21px; }
  #about-dialog {
    width: 100%;
    max-width: none;
    margin: auto 0 0;
    border-radius: 20px 20px 0 0;
    max-height: calc(100dvh - 56px);
    padding: 0 24px max(28px, calc(16px + env(safe-area-inset-bottom, 0px)));
    animation: none;
    touch-action: pan-y;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  #about-dialog[open],
  #about-dialog.is-sheet-dragging { animation: none; }
  #about-dialog .ice-sheet-handle { display: flex; }
  #about-dialog .dialog-close {
    position: absolute;
    top: 20px;
    right: 12px;
    z-index: 1;
    width: auto;
    min-width: 44px;
    min-height: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
  }
  #about-dialog .dialog-close-icon { display: none; }
  #about-dialog .dialog-close-label { display: inline; }
  #about-dialog .dialog-done { margin-bottom: 4px; }
}
@media (max-width: 360px) {
  .ice-corner .book { transform: scale(.9) rotate(-8deg); }
  .ice-corner .envelope { transform: scale(.9) rotate(6deg); }
  .ice-corner .parcel { transform: scale(.9) rotate(-6deg); }
  .ice-object-shelf { gap: 0; }
}
@media (hover: none), (pointer: coarse) {
  .ice-footer-contact:active { opacity: .65; }
  .ice-object-link:active { opacity: .82; }
  .ice-panel-close:active { background: color-mix(in srgb, var(--concept-ink) 10%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .ice-page-dialog[open], .ice-page-dialog[open]::backdrop, #about-dialog[open] { animation: none; }
}
