.nic-decoder-page { background: radial-gradient(circle at 50% 11%, rgba(96, 55, 224, .2), transparent 28%), radial-gradient(circle at 84% 42%, rgba(38, 95, 205, .13), transparent 26%), linear-gradient(180deg, #020615, #04091b 72%, #071127); }
.nic-decoder-hero .eyebrow { color: #a889ff; }
.nic-page-icon { color: #af91ff; border-color: rgba(151, 111, 244, .4); background: linear-gradient(145deg, rgba(104, 70, 225, .22), rgba(32, 55, 132, .35)); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 36px rgba(106, 74, 220, .13); }
.nic-page-icon svg { width: 40px; height: 40px; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.nic-decoder-workspace { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; }
.nic-input-panel, .nic-result-panel { min-height: 408px; padding: 24px; border: 1px solid rgba(101, 113, 163, .22); border-radius: 17px; background: linear-gradient(145deg, rgba(18, 27, 52, .95), rgba(7, 14, 34, .96)); box-shadow: 0 22px 62px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.025); }
.nic-panel-heading { margin-bottom: 24px; display: flex; align-items: center; gap: 13px; }.nic-panel-heading > span { width: 43px; height: 43px; flex: 0 0 43px; display: grid; place-items: center; color: #aa8afa; border: 1px solid rgba(139, 105, 235, .28); border-radius: 11px; background: rgba(102, 67, 205, .11); }.nic-panel-heading svg { width: 23px; height: 23px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }.nic-panel-heading h2 { margin: 0; font-size: 17px; }.nic-panel-heading p { margin: 5px 0 0; color: #8d95ac; font-size: 11px; line-height: 1.45; }
.nic-input-panel > label { display: block; margin-bottom: 8px; color: #b9bfd2; font-size: 12px; font-weight: 650; }.nic-input-shell { height: 50px; padding: 0 8px 0 14px; display: flex; align-items: center; border: 1px solid #35405f; border-radius: 10px; background: #081127; }.nic-input-shell:focus-within { border-color: #9a73f2; box-shadow: 0 0 0 3px rgba(137, 96, 234, .1); }.nic-input-shell input { min-width: 0; flex: 1; color: #f4f5ff; border: 0; outline: 0; background: transparent; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }.nic-input-shell input::placeholder { color: #68728d; letter-spacing: 0; text-transform: none; }.nic-input-shell > button { width: 32px; height: 32px; color: #8992aa; border: 0; border-radius: 7px; background: transparent; font-size: 20px; cursor: pointer; }.nic-input-shell > button:hover { color: white; background: rgba(111, 87, 194, .12); }
.nic-format-hint { margin: 8px 0 20px; color: #727c95; font-size: 10px; }.nic-form-actions { display: flex; gap: 9px; }.nic-form-actions button { height: 42px; padding: 0 16px; border-radius: 9px; font-size: 12px; font-weight: 700; cursor: pointer; }.nic-example-button { color: #b8bfd3; border: 1px solid rgba(103, 115, 156, .34); background: rgba(16, 27, 52, .74); }.nic-decode-button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: white; border: 0; background: linear-gradient(135deg, #8750ed, #526cf0); box-shadow: 0 10px 25px rgba(83, 69, 214, .2); }.nic-decode-button:disabled { opacity: .42; cursor: default; }
.nic-privacy-note { margin-top: 23px; padding: 13px; display: flex; align-items: flex-start; gap: 10px; border: 1px solid rgba(107, 89, 189, .16); border-radius: 10px; background: rgba(62, 45, 128, .07); }.nic-privacy-note > span { color: #9e83ee; }.nic-privacy-note p { margin: 0; color: #818aa3; font-size: 10px; line-height: 1.5; }.nic-privacy-note strong { display: block; margin-bottom: 2px; color: #b9afd9; font-size: 11px; }
.nic-result-panel { display: flex; flex-direction: column; }.nic-empty-result, .nic-error-result { margin: auto; max-width: 330px; text-align: center; }.nic-empty-result > span { width: 62px; height: 62px; margin: 0 auto 15px; display: grid; place-items: center; color: #9677ec; border: 1px solid rgba(139, 105, 235, .24); border-radius: 17px; background: rgba(95, 63, 191, .09); }.nic-empty-result svg { width: 31px; height: 31px; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }.nic-empty-result h2, .nic-error-result h2 { margin: 0; font-size: 17px; }.nic-empty-result p, .nic-error-result p { margin: 8px 0 0; color: #858da5; font-size: 11px; line-height: 1.55; }
.nic-result-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }.nic-result-heading span { color: #63d68c; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }.nic-result-heading h2 { margin: 4px 0 0; font-size: 18px; }.nic-result-heading button { height: 34px; padding: 0 11px; color: #bba7f7; border: 1px solid rgba(139, 105, 235, .3); border-radius: 8px; background: rgba(95, 63, 191, .09); font-size: 10px; cursor: pointer; }
.nic-primary-result { margin: 19px 0 12px; padding: 17px; display: grid; gap: 4px; border: 1px solid rgba(126, 96, 224, .24); border-radius: 11px; background: linear-gradient(135deg, rgba(94, 55, 193, .14), rgba(43, 72, 158, .1)); }.nic-primary-result span { color: #9587c2; font-size: 10px; }.nic-primary-result strong { color: #f1efff; font-size: 20px; }.nic-primary-result small { color: #8e97b0; font: 11px ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.nic-detail-grid { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }.nic-detail-grid > div { min-width: 0; padding: 12px; border: 1px solid rgba(92, 105, 149, .17); border-radius: 9px; background: rgba(5, 12, 29, .48); }.nic-detail-grid dt { color: #747e98; font-size: 9px; }.nic-detail-grid dd { margin: 5px 0 0; overflow: hidden; color: #e0e3f0; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.nic-conversion-result { margin-top: 10px; padding: 11px 11px 11px 13px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; border: 1px solid rgba(83, 122, 212, .2); border-radius: 9px; background: rgba(31, 62, 136, .08); }.nic-conversion-result span { color: #828ca6; font-size: 9px; }.nic-conversion-result code { color: #b8c7ff; font-size: 12px; }.nic-conversion-result button { height: 29px; padding: 0 9px; color: #aebfff; border: 1px solid rgba(93, 126, 216, .3); border-radius: 7px; background: rgba(60, 91, 177, .1); font-size: 9px; cursor: pointer; }.nic-copy-status { min-height: 17px; margin: 7px 0 0; color: #70d99a; font-size: 10px; text-align: right; }
.nic-result-panel.has-error { border-color: rgba(239, 91, 114, .3); }.nic-error-result > span { width: 48px; height: 48px; margin: 0 auto 14px; display: grid; place-items: center; color: #ff8294; border: 1px solid rgba(239, 91, 114, .32); border-radius: 50%; background: rgba(198, 55, 79, .1); font-size: 21px; font-weight: 800; }
.nic-information { margin-top: 15px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }.nic-information article { padding: 16px; border: 1px solid rgba(92, 105, 149, .15); border-radius: 10px; background: rgba(16, 25, 49, .54); }.nic-information h2 { margin: 0 0 6px; font-size: 12px; }.nic-information p { margin: 0; color: #858da5; font-size: 10px; line-height: 1.55; }.nic-information a { color: #b39af2; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 820px) { .nic-decoder-workspace { grid-template-columns: 1fr; }.nic-input-panel, .nic-result-panel { min-height: 0; }.nic-result-panel { min-height: 365px; }.nic-information { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .nic-input-panel, .nic-result-panel { padding: 18px; border-radius: 14px; }.nic-form-actions { display: grid; grid-template-columns: .8fr 1.2fr; }.nic-detail-grid { grid-template-columns: repeat(2, 1fr); }.nic-conversion-result { grid-template-columns: 1fr auto; }.nic-conversion-result span { grid-column: 1 / -1; }.nic-primary-result strong { font-size: 18px; } }
