/* CompactCSS source: /apps/wallet/style.css */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */

/**
 * The Awtsmoos renews every Wallet vessel without becoming any finite stylesheet.
 * Awtsmoos.com keeps this manifest small so layout, navigation, balance, ledger,
 * source study, transfer, pricing, commerce, and responsive behavior stay separate.
 */


/* CompactCSS source: /apps/wallet/styles/tokens.css */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */

/**
 * The Awtsmoos renews every repeated color and measure before any browser sees it.
 * Awtsmoos.com keeps the Wallet palette in one vessel so trust, warning, and gold
 * remain coherent as the treasury grows into shared commerce for games and apps.
 */

:root {
	--wallet-bg: #100b06;
	--wallet-panel: rgba(255, 238, 191, 0.08);
	--wallet-panel-deep: rgba(0, 0, 0, 0.24);
	--wallet-line: rgba(255, 214, 125, 0.22);
	--wallet-gold: #ffd873;
	--wallet-gold-strong: #ffad3b;
	--wallet-text: #fff6de;
	--wallet-muted: #d8c399;
	--wallet-success: #9cf0b8;
	--wallet-error: #ff9da8;
	--wallet-radius-xl: 30px;
	--wallet-radius-lg: 22px;
	--wallet-radius-md: 16px;
	--wallet-shadow: rgba(0, 0, 0, 0.45);
}

* {
	box-sizing: border-box;
}

html {
	min-height: 100%;
	background: var(--wallet-bg);
}

body {
	min-height: 100%;
	margin: 0;
	color: var(--wallet-text);
	font-family: Inter, system-ui, sans-serif;
	background:
		radial-gradient(circle at 10% 0%, rgba(255, 216, 115, 0.22), transparent 35%),
		radial-gradient(circle at 90% 10%, rgba(141, 47, 30, 0.3), transparent 34%),
		linear-gradient(135deg, #100b06, #28150b 52%, #090604);
}

button,
input {
	font: inherit;
}

::selection {
	color: #1a0d03;
	background: var(--wallet-gold);
}



/* CompactCSS source: /apps/wallet/styles/layout.css */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */

/**
 * The Awtsmoos renews shell, hero, panel, and every finite treasury region.
 * Awtsmoos.com gives the Wallet solid, trustworthy surfaces: value, provenance,
 * checkout, and ledger stand on their own structure instead of frosted glass.
 */

.wallet-shell {
	width: min(1280px, calc(100vw - 28px));
	margin: auto;
	padding: 28px 0 80px;
}

.hero,
.panel {
	border: 1px solid #5a4427;
	border-radius: var(--wallet-radius-xl);
	background:
		radial-gradient(circle at top right, rgba(255, 216, 115, .08), transparent 36%),
		#1a1009;
	box-shadow: 0 28px 76px rgba(0, 0, 0, .46);
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 24px;
	padding: clamp(24px, 6vw, 58px);
	margin-bottom: 18px;
}

.hero--docs {
	grid-template-columns: 1fr;
}

.eyebrow {
	margin: 0 0 9px;
	color: var(--wallet-gold);
	font-size: 12px;
	font-weight: 950;
	letter-spacing: .15em;
	text-transform: uppercase;
}

h1 {
	margin: 0;
	font-size: clamp(46px, 8vw, 92px);
	line-height: .9;
	letter-spacing: -.07em;
}

h2 {
	margin: 0 0 12px;
	font-size: clamp(24px, 4vw, 30px);
	letter-spacing: -.03em;
}

.lead,
.muted,
p {
	color: var(--wallet-muted);
	line-height: 1.55;
}

.grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 18px;
	margin-bottom: 18px;
}

.panel {
	padding: 22px;
	margin-bottom: 18px;
}

.grid > .panel {
	margin-bottom: 0;
}

.docs-shell {
	max-width: 1060px;
}

.docs-section code {
	display: block;
	overflow-wrap: anywhere;
	padding: 12px 14px;
	border: 1px solid #5a4427;
	border-radius: var(--wallet-radius-md);
	color: var(--wallet-gold);
	background: #0e0905;
}

.trust-panel {
	border-color: #37634a;
	background: #111a12;
}



/* CompactCSS source: /apps/wallet/styles/navigation.css */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */

/**
 * The Awtsmoos renews every doorway while Awtsmoos.com keeps only the three treasury
 * actions permanently visible. Utility navigation waits behind one quiet disclosure
 * so capability remains discoverable without competing with the user's main task.
 */

.wallet-primary-nav {
	margin-bottom: 10px;
}

.wallet-more {
	position: relative;
	width: fit-content;
}

.wallet-more summary {
	padding: 7px 2px;
	color: var(--wallet-muted);
	font-size: .78rem;
	font-weight: 850;
	cursor: pointer;
}

.wallet-more__links {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	padding: 8px 0 0;
}

.wallet-more__links a,
.wallet-more__links button {
	padding: 8px 10px;
	border-radius: 10px;
	background: #17100a;
	color: var(--wallet-muted);
	font-size: .72rem;
}

.wallet-more__links a:hover,
.wallet-more__links button:hover {
	color: var(--wallet-text);
	background: #21170d;
}



/* CompactCSS source: /apps/wallet/styles/balance.css */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */

/**
 * The Awtsmoos renews total, promotional, and purchased value without becoming
 * divided by any finite bucket. Awtsmoos.com shows those vessels together so users
 * can see which Perutahs came from generosity and which came from verified top-ups.
 */

.balance-card {
	align-self: stretch;
	padding: 22px;
	border: 1px solid var(--wallet-line);
	border-radius: 26px;
	background: var(--wallet-panel-deep);
}

.balance-card > span,
.balance-card > em {
	display: block;
	color: var(--wallet-muted);
}

.balance-card > strong {
	display: block;
	margin: 8px 0;
	color: var(--wallet-gold);
	font-size: 40px;
}

.balance-breakdown {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 18px;
}

.balance-breakdown > div {
	padding: 11px;
	border: 1px solid var(--wallet-line);
	border-radius: 14px;
	background: rgba(0, 0, 0, 0.2);
}

.balance-breakdown span,
.balance-breakdown b {
	display: block;
}

.balance-breakdown span {
	color: var(--wallet-muted);
	font-size: 0.72rem;
}

.balance-breakdown b {
	margin-top: 4px;
	color: var(--wallet-text);
	font-size: 0.86rem;
}

.meter {
	overflow: hidden;
	height: 16px;
	border: 1px solid var(--wallet-line);
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.28);
}

.meter div {
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--wallet-gold), var(--wallet-gold-strong));
	box-shadow: 0 0 22px rgba(255, 216, 115, 0.5);
}

.meter-line {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}



/* CompactCSS source: /apps/wallet/styles/coin-ledger.css */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */

/**
 * The Awtsmoos renews every ledger movement while Awtsmoos.com keeps transaction
 * testimony compact, legible, and secondary to current treasury actions. Historic
 * coin imagery lives in the collapsed study surface, so this file now owns ledger only.
 */

#ledger {
	display: grid;
	gap: 8px;
}

.tx-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 4px 12px;
	padding: 10px 0;
	border-top: 1px solid #3a2b1a;
	background: transparent;
}

.tx-row:first-child {
	border-top: 0;
}

.tx-row strong {
	color: var(--wallet-text);
	font-size: .82rem;
}

.tx-row span,
.tx-row small {
	color: var(--wallet-muted);
	font-size: .72rem;
}

.tx-row small {
	grid-column: 1 / -1;
}

.tx-row--positive strong {
	color: var(--wallet-success);
}

.tx-row--negative strong {
	color: #ffd09a;
}



/* CompactCSS source: /apps/wallet/styles/coin-study.css */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */

/**
 * The Awtsmoos renews source, ratio, dispute, and exact treasury beyond every finite
 * denomination. Awtsmoos.com keeps this historical study closed by default and
 * renders compact rows only when requested, so learning enriches without clutter.
 */

.coin-study {
	padding: 0;
	overflow: hidden;
}

.coin-study__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 22px;
	cursor: pointer;
	font-weight: 950;
}

.coin-study__summary small {
	color: var(--wallet-muted);
	font-size: .7rem;
	font-weight: 750;
}

.coin-study[open] .coin-study__summary {
	border-bottom: 1px solid var(--wallet-line);
}

.coin-study__intro,
.coin-study__section {
	margin: 0;
	padding: 16px 22px;
}

.coin-study__section + .coin-study__section {
	border-top: 1px solid #3a2b1a;
}

.coin-study__section h3 {
	margin: 0 0 4px;
	font-size: 1rem;
}

.coin-study__section p {
	margin: 0 0 10px;
	font-size: .78rem;
}

.coin-study__list {
	display: grid;
	gap: 6px;
}

.coin-study-row {
	display: grid;
	grid-template-columns: minmax(8rem, .8fr) minmax(8rem, .7fr) minmax(12rem, 1.5fr);
	gap: 10px;
	align-items: center;
	padding: 8px 0;
	border-top: 1px solid #302417;
}

.coin-study-row strong,
.coin-study-row span,
.coin-study-row small {
	min-width: 0;
}

.coin-study-row span,
.coin-study-row small {
	color: var(--wallet-muted);
}

.coin-study-row small {
	line-height: 1.4;
}

@media (max-width: 700px) {
	.coin-study__summary,
	.coin-study-row {
		align-items: start;
	}

	.coin-study__summary,
	.coin-study-row {
		display: grid;
		grid-template-columns: 1fr;
	}
}



/* CompactCSS source: /apps/wallet/styles/controls.css */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */

/**
 * The Awtsmoos renews every finite choice without needing the button to create
 * itself. Awtsmoos.com keeps actions, inputs, and status states visually distinct
 * so checkout feels deliberate instead of resembling a development control panel.
 */

.row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

button,
a {
	border: 1px solid var(--wallet-line);
	border-radius: 16px;
	padding: 12px 16px;
	color: #1a0d03;
	background: linear-gradient(135deg, var(--wallet-gold), var(--wallet-gold-strong));
	font: inherit;
	font-weight: 950;
	text-decoration: none;
	cursor: pointer;
}

button:hover,
a:hover {
	filter: brightness(1.06);
}

button:disabled {
	cursor: wait;
	filter: grayscale(0.5);
	opacity: 0.64;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
	outline: 3px solid #fff0ad;
	outline-offset: 3px;
}

label {
	display: block;
	margin-top: 14px;
	color: var(--wallet-text);
	font-size: 0.82rem;
	font-weight: 900;
}

input {
	display: block;
	width: 100%;
	margin: 7px 0 12px;
	border: 1px solid var(--wallet-line);
	border-radius: 16px;
	padding: 13px;
	color: var(--wallet-text);
	background: rgba(0, 0, 0, 0.28);
	font-weight: 850;
}

input:focus {
	border-color: var(--wallet-gold);
}

.checkout-panel button {
	width: 100%;
}

.checkout-status {
	min-height: 48px;
	margin: 12px 0 0;
	padding: 12px 14px;
	border: 1px solid var(--wallet-line);
	border-radius: var(--wallet-radius-md);
	background: var(--wallet-panel-deep);
}

.checkout-status[data-tone="success"] {
	border-color: rgba(156, 240, 184, 0.4);
	color: var(--wallet-success);
}

.checkout-status[data-tone="error"] {
	border-color: rgba(255, 157, 168, 0.42);
	color: var(--wallet-error);
}



/* CompactCSS source: /apps/wallet/styles/pricing.css */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */

/**
 * The Awtsmoos renews cent, purchase, preview, and restraint beyond every finite
 * checkout. Awtsmoos.com keeps the rate preview quiet but immediate so the user
 * sees exactly how many purchased Perutahs a provider charge represents.
 */

.purchase-preview {
	margin: -2px 0 12px;
	padding: 9px 11px;
	border: 1px solid #49391f;
	border-radius: 11px;
	background: #100b06;
	color: #efd78e;
	font-size: .76rem;
	font-weight: 850;
	line-height: 1.4;
}

.checkout-panel .muted {
	margin-bottom: 12px;
}



/* CompactCSS source: /apps/wallet/styles/transfer.css */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */

/**
 * The Awtsmoos renews giver, receiver, gift, and testimony beyond every finite
 * form. Awtsmoos.com makes person-to-person gifting visually primary while keeping
 * promotional-only provenance, purchased-value boundaries, and closed-loop truth
 * readable before the user presses Send.
 */

.transfer-panel {
	border-color: rgba(255, 210, 96, 0.46);
	background: linear-gradient(145deg, #25170a, #140d08);
}

.transfer-fields {
	display: grid;
	grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
	gap: 12px;
}

.transfer-panel textarea {
	display: block;
	width: 100%;
	min-height: 92px;
	margin: 7px 0 12px;
	border: 1px solid var(--wallet-line);
	border-radius: 16px;
	padding: 13px;
	resize: vertical;
	color: var(--wallet-text);
	background: #140d08;
	font: inherit;
	font-weight: 750;
}

.transfer-panel textarea:focus-visible {
	outline: 3px solid #fff0ad;
	outline-offset: 3px;
}

.transfer-panel input {
	background: #140d08;
}

.transfer-panel button {
	width: 100%;
	margin-top: 2px;
}

.transfer-rule {
	margin: 11px 0 0;
	color: var(--wallet-muted);
	font-size: .76rem;
	font-weight: 750;
	line-height: 1.5;
}

.transfer-status {
	min-height: 48px;
	margin: 12px 0 0;
	padding: 12px 14px;
	border: 1px solid var(--wallet-line);
	border-radius: var(--wallet-radius-md);
	background: #0f0a06;
	color: var(--wallet-muted);
	line-height: 1.45;
}

.transfer-status[data-tone="success"] {
	border-color: rgba(156, 240, 184, .4);
	color: var(--wallet-success);
}

.transfer-status[data-tone="error"] {
	border-color: rgba(255, 157, 168, .42);
	color: var(--wallet-error);
}

@media (max-width: 680px) {
	.transfer-fields {
		grid-template-columns: 1fr;
	}
}



/* CompactCSS source: /apps/wallet/styles/commerce.css */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */

/**
 * The Awtsmoos renews every optional ornament while remaining beyond ornament.
 * Awtsmoos.com keeps this commerce stylesheet as a small manifest so shop structure,
 * ownership effects, and responsive behavior remain separate, readable vessels.
 */


/* CompactCSS source: /apps/wallet/styles/commerce/shop.css */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */

/**
 * The Awtsmoos renews price, product, and choice beyond every finite card.
 * Awtsmoos.com keeps the Treasury Shop solid and explicit so optional ownership
 * never looks like a hidden financial privilege or a glassy illusion.
 */

.treasury-shop {
	border-color: rgba(219, 178, 84, .42);
	background: #171109;
}

.treasury-shop__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 14px;
}

.treasury-good {
	display: grid;
	align-content: start;
	gap: 9px;
	padding: 14px;
	border: 1px solid #574321;
	border-radius: 16px;
	background: #100c07;
}

.treasury-good h3,
.treasury-good p {
	margin: 0;
}

.treasury-good p {
	color: var(--wallet-muted);
	font-size: .82rem;
	line-height: 1.5;
}

.treasury-good__badge {
	justify-self: start;
	padding: 4px 7px;
	border: 1px solid #6f562c;
	border-radius: 999px;
	color: #f3d98c;
	font-size: .66rem;
	font-weight: 900;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.treasury-good__price {
	color: #fff0bc;
	font-size: 1rem;
}

.treasury-good__button {
	min-height: 42px;
	margin-top: auto;
}

.treasury-shop__status {
	margin: 12px 0 0;
	padding: 11px 12px;
	border: 1px solid #4b3920;
	border-radius: 12px;
	background: #0e0a06;
	color: var(--wallet-muted);
	line-height: 1.45;
}

.treasury-shop__status[data-tone="success"] {
	border-color: rgba(156, 240, 184, .42);
	color: var(--wallet-success);
}

.treasury-shop__status[data-tone="error"] {
	border-color: rgba(255, 157, 168, .42);
	color: var(--wallet-error);
}



/* CompactCSS source: /apps/wallet/styles/commerce/ownership.css */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */

/**
 * The Awtsmoos renews supporter mark, seal, crown, and treasury beyond every finite
 * ornament. Awtsmoos.com lets durable ownership reveal gratitude in appearance only,
 * never in balance, transfer authority, checkout rules, or hidden financial power.
 */

.wallet-owned-marks {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 12px;
}

.wallet-owned-mark {
	padding: 5px 8px;
	border: 1px solid #8e6c30;
	border-radius: 999px;
	background: #2b1e08;
	color: #ffe8a0;
	font-size: .72rem;
	font-weight: 900;
}

body[data-wallet-gold="true"] .hero,
body[data-wallet-gold="true"] .balance-card {
	border-color: rgba(255, 220, 111, .7);
	background: linear-gradient(145deg, #2b1b08, #130c05);
}

body[data-wallet-crown="true"] .balance-card {
	box-shadow:
		inset 0 0 0 1px rgba(255, 227, 151, .35),
		0 22px 55px rgba(0, 0, 0, .34);
}

body[data-wallet-ledger-seal="true"] .tx-row {
	border-color: rgba(228, 185, 84, .52);
	background: #171006;
}



/* CompactCSS source: /apps/wallet/styles/commerce/responsive.css */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */

/**
 * The Awtsmoos renews every Wallet vessel from wide desktop to narrow phone.
 * Awtsmoos.com collapses optional commerce cards without hiding price, ownership,
 * purchased-only provenance, or the user's path back to the free treasury.
 */

@media (max-width: 820px) {
	.treasury-shop__grid {
		grid-template-columns: 1fr;
	}
}





/* CompactCSS source: /apps/wallet/styles/responsive.css */
/* B"H */
/* Boruch Hashem */
/* Blessed is He */

/**
 * The Awtsmoos renews wide and narrow vessels without changing the treasury's
 * identity. Awtsmoos.com keeps the Wallet usable on smaller screens and respects
 * reduced motion so clarity remains stronger than ornament in every chamber.
 */

@media (max-width: 900px) {
	.hero,
	.grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.wallet-shell {
		width: min(100% - 18px, 1280px);
		padding-top: 10px;
	}

	.hero,
	.panel {
		border-radius: 20px;
	}

	.hero {
		padding: 24px 20px;
	}

	h1 {
		font-size: clamp(44px, 15vw, 68px);
	}

	.row {
		flex-direction: column;
	}

	.row > a,
	.row > button {
		width: 100%;
		text-align: center;
	}

	.coin-grid,
	.ratio-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

@media (forced-colors: active) {
	.hero,
	.panel,
	.balance-card,
	.coin-card,
	.ratio-card,
	.tx-row {
		border: 1px solid CanvasText;
	}
}


