/* Pamine 2.0: a dark sci-fi UI that matches her cabin: deep navy panels, thin cyan light lines, cut corners.
   Effects stay calm: a soft glow, no flicker. */

@font-face {
	font-family: 'Exo 2';
	src: url('/vendor/fonts/exo-2-latin-wght-normal.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Exo 2';
	src: url('/vendor/fonts/exo-2-latin-wght-italic.woff2') format('woff2');
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Orbitron';
	src: url('/vendor/fonts/orbitron-latin-500-normal.woff2') format('woff2');
	font-weight: 500;
	font-display: swap;
}
@font-face {
	font-family: 'Orbitron';
	src: url('/vendor/fonts/orbitron-latin-700-normal.woff2') format('woff2');
	font-weight: 700;
	font-display: swap;
}

:root {
	--bg: #070b1a;
	--panel: rgba(9, 18, 42, 0.82);
	--panel-solid: #0b1530;
	--line: #5fd4ff;
	--line-dim: rgba(95, 212, 255, 0.35);
	--accent: #3d7bff;
	--text: #e6f3ff;
	--text-dim: #93acd0;
	--ok: #6ff0c4;
	--error: #ff8fa3;
	--cut: 14px;
	--display: 'Orbitron', 'Exo 2', system-ui, sans-serif;
	--body: 'Exo 2', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--safe-top: env(safe-area-inset-top, 0px);
	--safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	height: 100%;
	overflow: hidden;
	overscroll-behavior: none;
	background: var(--bg);
	color: var(--text);
	font-family: var(--body);
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
	/* No double-tap zoom anywhere (quick taps advance her text); pinches: js/zoom.js */
	touch-action: manipulation;
}

[hidden] {
	display: none !important;
}

button {
	font: inherit;
	color: inherit;
}

/* ---------- The frame: the whole screen on a phone, a phone-shaped column on a wider screen ---------- */

.frame {
	position: fixed;
	inset: 0;
	margin: 0 auto;
	overflow: hidden;
	background: var(--bg);
}

/* Wider than a phone: the same view a phone gets (the room's height, a phone's share of its width) */
@media (min-width: 600px) {
	.frame {
		width: min(100vw, calc(100dvh * 0.47));
		box-shadow: 0 0 0 1px rgba(95, 212, 255, 0.12), 0 0 60px rgba(0, 0, 0, 0.6);
	}
}

/* ---------- Stage ---------- */

.stage {
	position: absolute;
	inset: 0;
	touch-action: none;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	cursor: grab;
}

.stage.dragging {
	cursor: grabbing;
}

.stage.pointing {
	cursor: pointer;
}

.stage canvas {
	display: block;
}

/* ---------- Moving between rooms: the scene fades through dark ---------- */

.veil {
	position: absolute;
	inset: 0;
	background: var(--bg);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease;
	z-index: 5;
}

.veil.on {
	opacity: 1;
	pointer-events: auto;
}

/* ---------- Loading ---------- */

.loading {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 14px;
	padding: 0 24px;
	text-align: center;
	line-height: 1.7;
	background: var(--bg);
	color: var(--text-dim);
	font-family: var(--display);
	font-size: 12px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	transition: opacity 0.6s ease;
	z-index: 30;
}

.loading.done {
	opacity: 0;
	pointer-events: none;
}

.loading-ring {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 2px solid var(--line-dim);
	border-top-color: var(--line);
	animation: spin 1.4s linear infinite;
}

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

/* ---------- Cut-corner frames: a cyan line drawn as the frame's background, the panel inset by 1px ---------- */

.comms-frame,
.account-frame,
.status-frame,
.choice,
.panel-button,
.panel-input,
.panel-segment,
.account-submit,
.panel-action,
.field input {
	--cut-shape: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

.comms-frame,
.account-frame,
.status-frame {
	position: relative;
	isolation: isolate;
	width: 100%;
	clip-path: var(--cut-shape);
	background: linear-gradient(135deg, var(--line) 0%, var(--line-dim) 40%, var(--line-dim) 60%, var(--accent) 100%);
	filter: drop-shadow(0 0 10px rgba(95, 212, 255, 0.25));
}

.comms-frame::before,
.account-frame::before,
.status-frame::before {
	content: '';
	position: absolute;
	inset: 1px;
	clip-path: var(--cut-shape);
	background:
		repeating-linear-gradient(0deg, rgba(95, 212, 255, 0.035) 0 1px, transparent 1px 3px),
		linear-gradient(180deg, rgba(14, 30, 66, 0.94), rgba(7, 13, 32, 0.95));
	z-index: -1;
}

/* ---------- The top of the screen: her text box or the account form, then choices ---------- */

.top {
	position: absolute;
	top: calc(var(--safe-top) + 12px);
	left: 14px;
	right: 14px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	z-index: 10;
	pointer-events: none;
}

.top > * {
	pointer-events: auto;
}

.comms,
.account,
.status,
.choices {
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.comms.closing,
.comms.opening,
.account.opening,
.status.opening,
.choices.opening {
	opacity: 0;
	transform: translateY(-8px);
}

.comms-frame {
	min-height: 108px;
	padding: 12px 18px 18px;
	cursor: pointer;
}

.comms-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 7px;
	margin-bottom: 8px;
	border-bottom: 1px solid var(--line-dim);
}

.comms-name {
	font-family: var(--display);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--line);
	text-shadow: 0 0 8px rgba(95, 212, 255, 0.45);
}

.comms-signal {
	display: flex;
	align-items: flex-end;
	gap: 3px;
	height: 10px;
}

.comms-signal i {
	width: 3px;
	background: var(--line);
	opacity: 0.8;
}

.comms-signal i:nth-child(1) { height: 4px; }
.comms-signal i:nth-child(2) { height: 7px; }
.comms-signal i:nth-child(3) { height: 10px; }

/* Offline: the bars go dark, struck through */
.comms-signal {
	position: relative;
}

[data-connection='offline'] .comms-signal i {
	background: var(--text-dim);
	opacity: 0.3;
}

[data-connection='offline'] .comms-signal::after {
	content: '';
	position: absolute;
	left: -2px;
	right: -2px;
	top: 50%;
	height: 1.5px;
	background: var(--error);
	transform: rotate(-35deg);
}

/* ---------- The status bar: the time, the weather and the connection, when she isn't talking ---------- */

.status-frame {
	--cut: 12px;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 9px 16px;
}

.status-clock {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
	flex: none;
}

.status-time {
	font-family: var(--display);
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.06em;
	color: var(--text);
	text-shadow: 0 0 10px rgba(95, 212, 255, 0.4);
}

.status-date {
	font-size: 12px;
	color: var(--text-dim);
	letter-spacing: 0.04em;
}

.status-weather {
	flex: 1;
	min-width: 0;
	display: grid;
	grid-template-columns: auto auto 1fr;
	align-items: center;
	gap: 0 8px;
	padding-left: 14px;
	border-left: 1px solid var(--line-dim);
}

.status-icon svg {
	display: block;
	width: 24px;
	height: 24px;
	fill: none;
	stroke: var(--line);
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.status-icon:empty,
.status-temp:empty {
	display: none;
}

.status-temp {
	font-family: var(--display);
	font-weight: 700;
	font-size: 17px;
	color: var(--text);
}

.status-sky {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 13px;
	color: var(--text-dim);
}

/* The weather kept from earlier (offline): dimmed */
.status.stale .status-weather {
	opacity: 0.55;
}

.status-frame .comms-signal {
	flex: none;
	align-self: flex-start;
	margin-top: 3px;
}

.comms-text {
	margin: 0;
	font-size: 16.5px;
	line-height: 1.45;
	font-weight: 450;
	letter-spacing: 0.01em;
	min-height: 2.9em;
}

/* Shown once a line that closes on a tap has finished typing (not under a question) */
.comms-next {
	position: absolute;
	right: 22px;
	bottom: 9px;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid var(--line);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.comms.done.closable .comms-next {
	opacity: 0.85;
	animation: nudge 1.6s ease-in-out infinite;
}

@keyframes nudge {
	50% { transform: translateY(3px); }
}

/* Choices: stacked to her right, under the text box, with no box around them so the room shows */
.choices {
	align-self: flex-end;
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: min(48%, 190px);
}

.choice {
	--cut: 10px;
	padding: 13px 12px;
	border: 0;
	clip-path: var(--cut-shape);
	background: linear-gradient(180deg, rgba(14, 30, 66, 0.9), rgba(7, 13, 32, 0.92));
	box-shadow: inset 0 0 0 1px var(--line-dim);
	color: var(--text);
	font: 600 15px var(--body);
	letter-spacing: 0.02em;
	text-align: center;
	cursor: pointer;
	filter: drop-shadow(0 0 8px rgba(95, 212, 255, 0.2));
	transition: background 0.2s ease, box-shadow 0.2s ease;
}

.choice:hover,
.choice:focus-visible {
	background: linear-gradient(180deg, rgba(24, 52, 104, 0.92), rgba(10, 22, 52, 0.94));
	box-shadow: inset 0 0 0 1px var(--line);
	outline: none;
}

/* ---------- The account form ---------- */

.account-frame {
	--cut: 16px;
	padding: 12px 18px 14px;
}

.field {
	display: block;
	margin-bottom: 10px;
}

.field-label {
	display: block;
	margin-bottom: 5px;
	font-family: var(--display);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--line);
}

.field-row {
	position: relative;
	display: block;
}

.field input {
	--cut: 9px;
	width: 100%;
	padding: 11px 14px;
	border: 0;
	clip-path: var(--cut-shape);
	background: rgba(95, 212, 255, 0.07);
	box-shadow: inset 0 -1px 0 var(--line-dim);
	color: var(--text);
	/* 16px or more: iOS doesn't zoom into the field */
	font: 500 16px var(--body);
	letter-spacing: 0.02em;
	outline: none;
	transition: background 0.2s ease, box-shadow 0.2s ease;
}

.field-row input {
	padding-right: 64px;
}

.field input:focus {
	background: rgba(95, 212, 255, 0.12);
	box-shadow: inset 0 -2px 0 var(--line);
}

.field input[aria-invalid='true'] {
	box-shadow: inset 0 -2px 0 var(--error);
}

.field-toggle {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	padding: 6px 8px;
	border: 0;
	background: none;
	color: var(--text-dim);
	font-family: var(--display);
	font-size: 10px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	cursor: pointer;
}

.field-toggle:hover,
.field-toggle:focus-visible {
	color: var(--line);
}

.rules {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px 12px;
	font-size: 13px;
	color: var(--text-dim);
}

.rules li {
	display: flex;
	align-items: center;
	gap: 7px;
	transition: color 0.2s ease;
}

.rules li::before {
	content: '';
	width: 7px;
	height: 7px;
	transform: rotate(45deg);
	border: 1px solid var(--line-dim);
	transition: background 0.2s ease, border-color 0.2s ease;
}

.rules li.met {
	color: var(--ok);
}

.rules li.met::before {
	background: var(--ok);
	border-color: var(--ok);
	box-shadow: 0 0 6px rgba(111, 240, 196, 0.6);
}

.account-error {
	min-height: 1.2em;
	margin: 0 0 8px;
	color: var(--error);
	font-size: 14px;
	line-height: 1.3;
}

.account-error:empty {
	min-height: 0;
	margin: 0;
}

.account-submit,
.panel-action {
	--cut: 12px;
	width: 100%;
	padding: 13px;
	border: 0;
	clip-path: var(--cut-shape);
	background: linear-gradient(90deg, #2a63e8, #2fa8e8);
	color: #fff;
	font-family: var(--display);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	cursor: pointer;
	transition: filter 0.2s ease, opacity 0.2s ease;
}

.account-submit:hover,
.account-submit:focus-visible,
.panel-action:hover,
.panel-action:focus-visible {
	filter: brightness(1.12);
}

.account-submit:disabled,
.panel-action:disabled {
	opacity: 0.6;
	cursor: progress;
}

.account-switch {
	margin: 10px 0 0;
	text-align: center;
	font-size: 14px;
}

.account-switch button {
	padding: 0;
	border: 0;
	background: none;
	color: var(--line);
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
	text-decoration-color: var(--line-dim);
	text-underline-offset: 3px;
}

/* ---------- Full-screen panels ---------- */

.panel {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	padding: calc(var(--safe-top) + 14px) 18px calc(var(--safe-bottom) + 18px);
	background:
		repeating-linear-gradient(0deg, rgba(95, 212, 255, 0.025) 0 1px, transparent 1px 3px),
		radial-gradient(ellipse at 50% 0%, rgba(30, 70, 150, 0.35), transparent 60%),
		rgba(6, 10, 24, 0.9);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	z-index: 20;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.panel.opening,
.panel.closing {
	opacity: 0;
	transform: scale(0.985);
}

.panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 12px;
	margin-bottom: 18px;
	border-bottom: 1px solid var(--line-dim);
}

.panel-title {
	margin: 0;
	font-family: var(--display);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--text);
	text-shadow: 0 0 12px rgba(95, 212, 255, 0.5);
}

.panel-close {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-right: -8px;
	border: 0;
	background: none;
	color: var(--line);
	cursor: pointer;
}

.panel-close:focus {
	outline: none;
}

.panel-close:focus-visible {
	outline: 1px solid var(--line-dim);
}

.panel-close svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: square;
}

.panel-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.panel-section {
	margin-bottom: 26px;
}

.panel-label {
	margin: 0 0 10px;
	font-family: var(--display);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--line);
}

.panel-text {
	margin: 0 0 12px;
	color: var(--text-dim);
	font-size: 15px;
	line-height: 1.45;
}

.panel-text strong {
	color: var(--text);
	font-weight: 600;
}

.panel-note {
	margin: 8px 0 0;
	color: var(--text-dim);
	font-size: 13.5px;
	line-height: 1.4;
}

.panel-note:empty {
	display: none;
}

.panel-note.error {
	color: var(--error);
}

.panel-button,
.panel-input,
.panel-segment {
	--cut: 9px;
	clip-path: var(--cut-shape);
	border: 0;
	color: var(--text);
	font: 500 15px var(--body);
}

.panel-button,
.panel-segment {
	padding: 11px 14px;
	background: rgba(95, 212, 255, 0.09);
	box-shadow: inset 0 0 0 1px var(--line-dim);
	cursor: pointer;
	transition: background 0.2s ease, box-shadow 0.2s ease;
}

.panel-button {
	width: 100%;
	margin-bottom: 10px;
}

.panel-button:hover,
.panel-button:focus-visible,
.panel-segment:hover,
.panel-segment:focus-visible {
	background: rgba(95, 212, 255, 0.16);
	box-shadow: inset 0 0 0 1px var(--line);
	outline: none;
}

.panel-button:disabled {
	opacity: 0.6;
	cursor: progress;
}

.panel-input {
	width: 100%;
	padding: 11px 14px;
	background: rgba(95, 212, 255, 0.07);
	box-shadow: inset 0 -1px 0 var(--line-dim);
	/* 16px or more: iOS doesn't zoom into the field */
	font-size: 16px;
	outline: none;
}

.panel-input:focus {
	background: rgba(95, 212, 255, 0.12);
	box-shadow: inset 0 -2px 0 var(--line);
}

.panel-input::placeholder {
	color: var(--text-dim);
}

.panel-results {
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
}

.panel-result {
	display: block;
	width: 100%;
	padding: 10px 12px;
	border: 0;
	border-bottom: 1px solid rgba(95, 212, 255, 0.12);
	background: none;
	color: var(--text);
	text-align: left;
	cursor: pointer;
}

.panel-result:hover,
.panel-result:focus-visible {
	background: rgba(95, 212, 255, 0.08);
	outline: none;
}

.panel-result span {
	display: block;
	color: var(--text-dim);
	font-size: 13px;
}

.panel-segments {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
}

.panel-segment {
	padding: 10px 4px;
	font-size: 14px;
}

.panel-segment[aria-pressed='true'] {
	background: linear-gradient(90deg, #2a63e8, #2fa8e8);
	box-shadow: none;
	color: #fff;
	font-weight: 600;
}

/* ---------- The ship's map ---------- */

.ship-map {
	display: block;
	width: 100%;
	max-width: 340px;
	max-height: 62dvh;
	margin: 0 auto;
}

.ship-hull {
	fill: rgba(95, 212, 255, 0.05);
	stroke: var(--line-dim);
	stroke-width: 1.5;
	stroke-linejoin: round;
}

.ship-engine {
	fill: rgba(95, 212, 255, 0.06);
	stroke: var(--line-dim);
	stroke-width: 1.2;
}

.ship-thrust {
	fill: var(--line);
	opacity: 0.6;
	filter: drop-shadow(0 0 4px var(--line));
}

.ship-spine {
	stroke: var(--line-dim);
	stroke-width: 1.5;
}

.ship-room polygon {
	fill: rgba(95, 212, 255, 0.1);
	stroke: var(--line);
	stroke-width: 1.4;
	stroke-linejoin: round;
	transition: fill 0.2s ease;
}

.ship-room[role='button'] {
	cursor: pointer;
	outline: none;
}

.ship-room[role='button']:hover polygon,
.ship-room[role='button']:focus-visible polygon {
	fill: rgba(95, 212, 255, 0.24);
}

.ship-room.here polygon {
	fill: rgba(61, 123, 255, 0.45);
	stroke: #9fe6ff;
	stroke-width: 2;
	filter: drop-shadow(0 0 6px rgba(95, 212, 255, 0.6));
}

.ship-room.sealed polygon {
	fill: rgba(147, 172, 208, 0.04);
	stroke: var(--text-dim);
	stroke-dasharray: 4 3;
	opacity: 0.6;
}

.ship-label {
	fill: var(--text);
	font: 600 11px var(--body);
	text-anchor: middle;
	pointer-events: none;
}

.ship-room.sealed .ship-label {
	fill: var(--text-dim);
}

.ship-note {
	fill: var(--line);
	font: 500 7.5px var(--display);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-anchor: middle;
	pointer-events: none;
}

.ship-room.sealed .ship-note {
	fill: var(--text-dim);
}

.map-legend {
	margin-top: 14px;
	text-align: center;
}

/* ---------- Reminders ---------- */

.reminder-form {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.reminder-form-row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: flex-end;
	gap: 6px;
}

.reminder-day,
.reminder-repeat {
	flex: 1;
	min-width: 0;
}

.reminder-day,
.reminder-time,
.reminder-repeat {
	padding: 9px 10px;
	font-size: 16px;
	color-scheme: dark;
}

.reminder-time {
	flex: 0 0 auto;
	width: 7.5em;
}

.reminder-repeat {
	appearance: none;
	-webkit-appearance: none;
	/* A chevron drawn in the field's cyan */
	background-image: linear-gradient(45deg, transparent 50%, var(--line) 50%), linear-gradient(135deg, var(--line) 50%, transparent 50%);
	background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
	background-size: 5px 5px;
	background-repeat: no-repeat;
	padding-right: 28px;
}

.reminder-repeat option {
	background: var(--panel-solid);
	color: var(--text);
}

.reminder-toggle {
	flex: none;
	padding: 9px 12px;
}

.reminder-toggle[aria-pressed='true'] {
	background: rgba(95, 212, 255, 0.22);
	box-shadow: inset 0 0 0 1px var(--line);
}

.reminder-day:disabled,
.reminder-toggle:disabled,
.reminder-repeat:disabled {
	opacity: 0.45;
	cursor: default;
}

.reminder-save {
	min-width: 64px;
	background: linear-gradient(90deg, #2a63e8, #2fa8e8);
	box-shadow: none;
	font-weight: 600;
}

.reminder-days {
	margin-top: 8px;
}

.reminder-day-title {
	margin: 18px 0 2px;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--line-dim);
	font-family: var(--display);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--line);
}

.reminder-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.reminder {
	display: flex;
	align-items: stretch;
	border-bottom: 1px solid rgba(95, 212, 255, 0.14);
}

.reminder.editing {
	display: block;
	padding: 10px 0;
}

.reminder-main {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 12px 4px;
	border: 0;
	background: none;
	color: var(--text);
	text-align: left;
	cursor: pointer;
}

.reminder-main:hover .reminder-text,
.reminder-main:focus-visible .reminder-text {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: var(--line-dim);
	text-underline-offset: 3px;
}

.reminder-main:focus-visible {
	outline: none;
}

.reminder-text {
	font-size: 15.5px;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.reminder-due {
	font-size: 13px;
	color: var(--line);
}

.reminder.overdue .reminder-due {
	color: var(--error);
}

.reminder-delete {
	flex: none;
	width: 44px;
	border: 0;
	background: none;
	color: var(--text-dim);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.reminder-delete:hover,
.reminder-delete:focus-visible {
	color: var(--error);
	outline: none;
}

.panel-version {
	margin-top: auto;
	padding-top: 14px;
	text-align: center;
	color: var(--text-dim);
	font-family: var(--display);
	font-size: 11px;
	letter-spacing: 0.16em;
}

@media (prefers-reduced-motion: reduce) {
	.loading-ring,
	.comms.done.closable .comms-next {
		animation: none;
	}
}
