:root { color-scheme: dark; --bg:#101612; --surface:#182119; --surface-2:#202d22; --line:#3c4d3c; --text:#f5f4e8; --muted:#b9c2b6; --accent:#75c947; --accent-light:#a6ec67; --danger:#ff8c7a; --shadow:0 18px 45px rgba(0,0,0,.28); }
* { box-sizing:border-box; }
body { min-width:320px; margin:0; color:var(--text); background:radial-gradient(circle at 10% 0%,#29432c 0,transparent 28rem),radial-gradient(circle at 90% 20%,#293a28 0,transparent 25rem),var(--bg); font-family:"Zen Kaku Gothic New",system-ui,sans-serif; }
body::before { content:""; position:fixed; inset:0; pointer-events:none; opacity:.13; background-image:linear-gradient(90deg,rgba(255,255,255,.18) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.18) 1px,transparent 1px); background-size:42px 42px; mask-image:linear-gradient(to bottom,#000,transparent); }
.page-shell { width:min(100% - 32px,980px); margin:0 auto; padding:54px 0 46px; }
.hero { text-align:center; margin-bottom:34px; }.eyebrow,.result-label { margin:0 0 11px; color:var(--accent-light); font:10px/1.5 "Press Start 2P",monospace; letter-spacing:.04em; }.eyebrow span { font-size:13px; }
h1 { margin:0; font:clamp(26px,5vw,46px)/1.28 "Press Start 2P",monospace; letter-spacing:-.05em; text-shadow:4px 4px 0 #080c08; } h1 span { color:var(--accent-light); }
.subtitle { color:var(--muted); margin:19px 0 0; font-size:18px; font-weight:700; }
.tool-card,.result-card { background:linear-gradient(145deg,rgba(35,49,37,.96),rgba(21,30,23,.96)); border:1px solid var(--line); box-shadow:var(--shadow); border-radius:18px; }.tool-card { padding:30px; }
.card-heading { display:flex; gap:16px; align-items:flex-start; margin-bottom:27px; }.command-badge { flex:0 0 auto; padding:9px 10px; border-radius:8px; color:#12200d; background:var(--accent-light); font:12px "Press Start 2P",monospace; }.card-heading h2,.result-card h2 { margin:0; font-size:20px; }.card-heading p { margin:7px 0 0; color:var(--muted); font-size:14px; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 18px; }.field { min-width:0; }.field label { display:flex; gap:7px; align-items:center; margin-bottom:8px; font-size:14px; font-weight:700; }.field label span { padding:2px 5px; border-radius:3px; background:#394c35; color:var(--accent-light); font-size:10px; }
input,select { appearance:none; width:100%; min-height:48px; padding:11px 13px; border:1px solid #556554; border-radius:8px; outline:none; color:var(--text); background:#101711; font:500 16px "Zen Kaku Gothic New",sans-serif; transition:border-color .18s,box-shadow .18s,transform .18s; } select { cursor:pointer; background-image:linear-gradient(45deg,transparent 50%,var(--accent-light) 50%),linear-gradient(135deg,var(--accent-light) 50%,transparent 50%); background-position:calc(100% - 18px) 20px,calc(100% - 13px) 20px; background-size:5px 5px,5px 5px; background-repeat:no-repeat; } input:focus,select:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(117,201,71,.18); } input:disabled { opacity:.52; cursor:not-allowed; }.field.has-error input,.field.has-error select { border-color:var(--danger); box-shadow:0 0 0 3px rgba(255,140,122,.13); }.field-hint,.field-error { min-height:17px; margin:5px 0 0; font-size:12px; }.field-hint { color:#9aa89a; }.field-error { color:var(--danger); }.version-notice,.result-status { margin:8px 0 0; padding:8px 10px; border-radius:7px; font-size:12px; line-height:1.55; }.version-notice[data-status="beta"],.result-status[data-status="beta"] { color:#ffe1a1; background:rgba(186,133,40,.13); border:1px solid rgba(224,164,51,.32); }.version-notice[data-status="experimental"],.result-status[data-status="experimental"] { color:#ffbbb0; background:rgba(176,67,50,.14); border:1px solid rgba(233,94,70,.34); }
.searchable-combobox { position:relative; }.searchable-combobox input[type="search"] { padding-right:40px; background-image:linear-gradient(45deg,transparent 50%,var(--accent-light) 50%),linear-gradient(135deg,var(--accent-light) 50%,transparent 50%); background-position:calc(100% - 19px) 20px,calc(100% - 14px) 20px; background-size:5px 5px,5px 5px; background-repeat:no-repeat; }.combobox-options { position:absolute; z-index:10; width:100%; max-height:312px; margin:4px 0 0; padding:4px; overflow:auto; border:1px solid #5a7057; border-radius:8px; background:#172117; box-shadow:0 16px 30px rgba(0,0,0,.36); list-style:none; }.combobox-option { display:grid; gap:1px; min-height:44px; padding:6px 9px; border-radius:6px; cursor:pointer; }.combobox-option:hover,.combobox-option[aria-selected="true"] { background:#2b412a; }.combobox-option strong { font-size:13px; line-height:1.35; }.combobox-option span,.combobox-empty { color:#aebbac; font-size:11px; line-height:1.35; overflow-wrap:anywhere; }.combobox-empty { padding:8px; }.enchantment-field { margin-top:20px; }.enchantment-rows { display:grid; gap:10px; }.enchantment-row { display:grid; grid-template-columns:minmax(0,1fr) 108px 42px; gap:8px; align-items:start; padding:10px; border:1px solid #40543f; border-radius:9px; background:rgba(11,18,12,.4); }.enchantment-search-group,.enchantment-level-group { min-width:0; }.enchantment-row-label { display:block; margin:0 0 5px; color:#c9d8c7; font-size:11px; font-weight:700; }.enchantment-row .searchable-combobox input,.enchantment-row .enchantment-level { min-height:42px; padding:8px 10px; font-size:14px; }.enchantment-row .enchantment-level { width:100%; }.enchantment-max-level { display:block; min-height:15px; margin-top:4px; color:#95a893; font-size:10px; line-height:1.35; }.enchantment-row-error { display:block; min-height:15px; margin-top:3px; color:var(--danger); font-size:10px; line-height:1.35; }.remove-enchantment-button { width:42px; min-height:42px; margin-top:21px; border:1px solid #6d4a45; border-radius:7px; color:#ffd3cb; background:#412a28; font-size:20px; }.add-enchantment-button { width:100%; min-height:42px; margin-top:10px; border:1px solid #526e4d; border-radius:7px; color:#dff8cc; background:#284026; font-size:13px; }.add-enchantment-button:disabled { cursor:not-allowed; opacity:.45; }
button { border:0; cursor:pointer; font:700 15px "Zen Kaku Gothic New",sans-serif; transition:transform .18s,filter .18s,background .18s; } button:hover:not(:disabled) { filter:brightness(1.09); transform:translateY(-2px); } button:active:not(:disabled) { transform:translateY(0); }.generate-button { display:block; width:100%; min-height:54px; margin-top:26px; border-radius:9px; color:#10210d; background:linear-gradient(135deg,var(--accent-light),var(--accent)); box-shadow:0 5px 0 #396b29; }.generate-button span { margin-right:8px; }.generate-button:active { box-shadow:0 2px 0 #396b29; }
.result-card { margin-top:23px; padding:25px 30px; }.result-header { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; }.result-label { margin-bottom:7px; font-size:8px; }.version-label { margin:3px 0 0; padding:5px 8px; border:1px solid #4a6049; border-radius:20px; color:var(--muted); font-size:12px; white-space:nowrap; }.command-output { min-height:76px; display:flex; align-items:center; margin-top:19px; padding:17px; overflow-wrap:anywhere; border:1px dashed #506250; border-radius:8px; color:#aeb8ad; background:#0c110d; font:14px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace; }.command-output.is-ready { border-style:solid; border-color:#5d9046; color:#e9f8db; }.result-actions { display:flex; align-items:center; gap:15px; margin-top:14px; }.copy-button { min-width:128px; min-height:45px; border-radius:7px; color:#e9f8db; background:#304b2e; }.copy-button:disabled { cursor:not-allowed; opacity:.42; }.copy-status { margin:0; color:var(--accent-light); font-size:13px; font-weight:700; }.note { display:flex; gap:10px; align-items:flex-start; margin:18px 4px 0; color:var(--muted); font-size:12px; }.note span { display:grid; place-items:center; flex:0 0 auto; width:18px; height:18px; border:1px solid var(--accent); border-radius:50%; color:var(--accent-light); font-weight:900; }.note p { margin:0; line-height:1.6; }
.enchantment-info,.command-info { margin:8px 0 0; color:#c8efad; font-size:12px; font-weight:700; line-height:1.55; }.enchantment-info { padding-left:2px; }.command-info { padding:7px 9px; border-left:2px solid var(--accent); border-radius:3px; background:rgba(83,145,52,.1); }
.site-nav { display:flex; gap:8px; flex-wrap:wrap; }.site-nav a,.open-note-link { display:inline-flex; align-items:center; justify-content:center; min-height:39px; padding:8px 11px; border:1px solid #506650; border-radius:7px; color:#d8ebd0; background:rgba(23,34,24,.8); font-size:13px; font-weight:700; text-decoration:none; transition:transform .18s,background .18s,border-color .18s; }.site-nav a:hover,.open-note-link:hover { transform:translateY(-2px); border-color:var(--accent); background:#2a4029; }.site-nav a.is-active { color:#12200d; border-color:var(--accent-light); background:var(--accent-light); }.give-nav { justify-content:center; margin:-9px 0 24px; }.note-add-actions { display:grid; grid-template-columns:auto minmax(160px,1fr) auto auto; gap:8px; align-items:center; margin-top:14px; padding-top:14px; border-top:1px solid #3e513e; }.note-add-actions label { color:var(--muted); font-size:12px; font-weight:700; }.note-add-actions select { min-height:40px; padding:7px 30px 7px 10px; font-size:12px; }.add-to-note-button { min-height:40px; padding:8px 10px; border:1px solid #526e4d; border-radius:7px; color:#dff8cc; background:#284026; font-size:12px; white-space:nowrap; }.add-to-note-button:disabled { cursor:not-allowed; opacity:.45; }.note-add-status { grid-column:1 / -1; min-height:16px; margin:0; color:var(--accent-light); font-size:12px; font-weight:700; }
@media (max-width:640px) { .page-shell { width:min(100% - 24px,980px); padding-top:36px; }.subtitle { font-size:15px; }.tool-card,.result-card { padding:22px 17px; border-radius:13px; }.card-heading { gap:11px; margin-bottom:23px; }.command-badge { font-size:10px; }.card-heading h2,.result-card h2 { font-size:17px; }.card-heading p { font-size:12px; }.form-grid { grid-template-columns:1fr; gap:13px; }.result-header { flex-direction:column; gap:7px; }.version-label { margin:0; }.command-output { min-height:96px; font-size:12px; }.result-actions { align-items:flex-start; flex-direction:column; }.copy-button { width:100%; }.eyebrow { font-size:8px; } }
@media (max-width:640px) { .enchantment-row { grid-template-columns:minmax(0,1fr) 92px 42px; gap:7px; padding:9px; }.enchantment-row .searchable-combobox input,.enchantment-row .enchantment-level { min-height:44px; } }
@media (max-width:640px) { .give-nav { margin-top:-3px; }.give-nav a { flex:1; }.note-add-actions { grid-template-columns:1fr; }.note-add-actions select,.add-to-note-button,.open-note-link { width:100%; }.note-add-status { grid-column:auto; } }
