:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; padding: 28px 18px; color: #fff6ee; background: radial-gradient(circle at 8% 4%, #bf4b11 0, transparent 32%), radial-gradient(circle at 96% 95%, #8f360e 0, transparent 38%), #1b0b04; }
button, input, select { font: inherit; } button { cursor: pointer; } button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #ffd19f; outline-offset: 3px; }
.app-shell { width: min(100%, 720px); min-height: calc(100vh - 56px); margin: 0 auto; padding: clamp(22px, 5vw, 42px); border: 1px solid rgba(255, 204, 150, .19); border-radius: 24px; background: rgba(47, 19, 6, .9); box-shadow: 0 24px 80px rgba(0, 0, 0, .5); backdrop-filter: blur(16px); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: clamp(42px, 9vw, 75px); }.brand { display: flex; align-items: center; gap: 9px; padding: 0; border: 0; color: #ffd7b0; background: transparent; font-size: .82rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }.brand-mark { display: inline-grid; place-items: center; width: 31px; height: 25px; border-radius: 7px; color: #431700; background: #ffa24e; font-family: ui-monospace, monospace; font-size: .72rem; letter-spacing: 0; }.home-link, .back { padding: 8px 12px; border: 1px solid #85401a; border-radius: 9px; color: #ffddbc; background: transparent; font-size: .88rem; font-weight: 700; }.home-link:hover, .back:hover { background: #54200c; }
.view { animation: arrive .24s ease-out; }.view[hidden] { display: none; } @keyframes arrive { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }.eyebrow { margin: 0 0 11px; color: #ffad64; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; } h1 { margin: 0; font-size: clamp(2rem, 7vw, 3.1rem); line-height: 1.03; letter-spacing: -.055em; }.lead { max-width: 560px; margin: 16px 0 34px; color: #f0c7ac; font-size: 1.03rem; line-height: 1.55; }
.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }.tool-card { min-height: 252px; display: flex; flex-direction: column; align-items: flex-start; padding: 22px; border: 1px solid #813713; border-radius: 18px; color: #fff6ee; background: #421a0b; text-align: left; transition: transform .2s, border-color .2s, background .2s; }.tool-card:hover { transform: translateY(-4px); border-color: #ffaf64; background: #59240d; }.tool-icon { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 23px; border-radius: 12px; color: #4a1a00; background: #ffab5a; font-size: 1.6rem; font-weight: 800; }.tool-title { font-size: 1.15rem; font-weight: 800; }.tool-copy { margin-top: 8px; color: #f1c3a4; font-size: .9rem; line-height: 1.45; }.tool-action { margin-top: auto; padding-top: 22px; color: #ffc083; font-size: .87rem; font-weight: 800; }.tool-action b { margin-left: 4px; font-size: 1.1rem; }
.view-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 30px; }.view-heading p:not(.eyebrow) { margin: 10px 0 0; color: #f0c7ac; }.back { flex: none; } label, legend { display: block; margin-bottom: 8px; color: #ffe0c0; font-size: .9rem; font-weight: 700; } input, select { width: 100%; margin-bottom: 19px; padding: 14px 15px; border: 1px solid #85401a; border-radius: 12px; outline: none; color: #fff9f3; background: #260e04; font: 600 1.05rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; } input::placeholder { color: #a8785d; font-weight: 400; } input:focus, select:focus { border-color: #ffad64; box-shadow: 0 0 0 4px rgba(255, 173, 100, .18); }.hint { margin: -6px 0 25px; color: #dbad8f; font-size: .8rem; }.hint code { color: #ffc286; }
fieldset { margin: 0; padding: 0; border: 0; }.operation-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }.operation-grid button, .primary, .clear { border-radius: 12px; color: #fff8f1; font-weight: 750; transition: transform .18s, filter .18s, background .18s; }.operation-grid button { min-height: 55px; padding: 10px; border: 0; background: #8b360d; }.operation-grid button span { margin-right: 8px; color: #ffc082; font-size: 1.35rem; vertical-align: -1px; }.operation-grid button:hover, .primary:hover { background: #b54910; transform: translateY(-2px); }.primary { width: 100%; padding: 14px; border: 0; background: #8b360d; }.message { min-height: 22px; margin: 18px 0 0; color: #ffb5a3; font-size: .88rem; font-weight: 650; }.result-card { margin-top: 2px; padding: 20px; border: 1px solid #783314; border-radius: 16px; background: #2b1006; }.result-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; } h2 { margin: 0; font-size: 1rem; }.status { padding: 4px 9px; border-radius: 99px; color: #ffd4a6; background: #713114; font-size: .73rem; font-weight: 700; } dl { margin: 0; } dl div { display: flex; justify-content: space-between; gap: 26px; padding: 11px 0; border-top: 1px solid #5a270f; } dt { color: #e4b69b; font-size: .86rem; } dd { max-width: 66%; margin: 0; color: #fff6ee; overflow-wrap: anywhere; text-align: right; font: 650 .95rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; } .answer dd { color: #ffc386; font-size: 1.08rem; }.clear { width: 100%; margin-top: 14px; padding: 12px; border: 1px solid #85401a; color: #f4c7a7; background: transparent; }.clear:hover { background: #54200c; } footer { margin-top: 48px; color: #d29d7a; text-align: center; font-size: .75rem; }
@media (max-width: 520px) { .app-shell { min-height: calc(100vh - 36px); padding: 24px 19px; border-radius: 18px; }.site-header { margin-bottom: 42px; }.tool-grid, .operation-grid { grid-template-columns: 1fr; }.tool-card { min-height: 205px; }.tool-icon { margin-bottom: 17px; }.view-heading { flex-direction: column-reverse; }.back { align-self: flex-start; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
