:root {
  --bg: #eef0f3;
  --ink: #1d2330;
  --ink-2: #5b6475;
  --ink-3: #8a93a3;
  --line: rgba(20, 30, 50, 0.1);
  --glass: rgba(255, 255, 255, 0.82);
  --glass-strong: rgba(255, 255, 255, 0.95);
  --accent: #2f78ff;
  --accent-ink: #ffffff;
  --accent-soft: rgba(47, 120, 255, 0.12);
  --danger: #e5484d;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 30px rgba(20, 30, 50, 0.14), 0 1px 3px rgba(20, 30, 50, 0.08);
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --dock-h: 64px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body {
  margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--ink);
  font: 14px/1.35 var(--font); overscroll-behavior: none; -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none;
  /* The app shell never pans or zooms; only lists that scroll opt back in. */
  touch-action: none;
}
.sheet-body, .cat-grid, .modal-card, #picker, #menu { touch-action: pan-y; }
#dock, #substyles, .cat-tabs { touch-action: pan-x; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }
input, select { font: inherit; color: inherit; -webkit-user-select: text; user-select: text; }
.hidden { display: none !important; }
.ic { display: block; flex: none; }

#stage { position: fixed; inset: 0; touch-action: none; }
#gl, #overlay { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#overlay { pointer-events: none; }

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* ---------- top bar ---------- */
#topbar {
  position: fixed; z-index: 20;
  top: calc(8px + var(--sat)); left: calc(8px + var(--sal)); right: calc(8px + var(--sar));
  height: 52px; border-radius: var(--radius);
  display: flex; align-items: center; gap: 6px; padding: 0 6px;
}
#topbar .spacer { flex: 1; }
.group { display: flex; gap: 2px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--ink);
  transition: background .15s, opacity .15s;
}
.icon-btn:hover { background: rgba(20, 30, 50, 0.06); }
.icon-btn:active { background: rgba(20, 30, 50, 0.1); }
.icon-btn:disabled { opacity: .3; pointer-events: none; }
.icon-btn.small { width: 36px; height: 36px; }
.icon-btn.round { border-radius: 50%; width: 56px; height: 56px; }
.title-btn {
  font-weight: 650; font-size: 15px; padding: 8px 10px; border-radius: 10px; max-width: 34vw;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.title-btn:hover { background: rgba(20, 30, 50, 0.06); }
.segmented { display: flex; background: rgba(20, 30, 50, 0.07); border-radius: 12px; padding: 3px; }
.segmented button {
  height: 38px; min-width: 52px; padding: 0 10px; border-radius: 9px; font-weight: 600; color: var(--ink-2);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.segmented button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(20, 30, 50, 0.15); }
.seg-ic { display: none; }
.pill-btn {
  height: 44px; padding: 0 14px; border-radius: 12px; display: flex; align-items: center; gap: 7px; font-weight: 600;
  background: rgba(20, 30, 50, 0.07); color: var(--ink); white-space: nowrap;
}
.pill-btn:hover { background: rgba(20, 30, 50, 0.11); }
.pill-btn.accent { background: var(--accent); color: var(--accent-ink); }
.pill-btn.accent:hover { background: #1f66ea; }
.pill-btn.on { background: var(--accent); color: #fff; }

/* ---------- dock ---------- */
#dock {
  position: fixed; z-index: 20; left: 50%; transform: translateX(-50%);
  bottom: calc(10px + var(--sab)); height: var(--dock-h); border-radius: 20px;
  display: flex; align-items: center; gap: 2px; padding: 0 6px; max-width: calc(100vw - 16px);
  overflow-x: auto; scrollbar-width: none;
}
#dock::-webkit-scrollbar { display: none; }
#dock button {
  min-width: 60px; height: 54px; border-radius: 14px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 3px; color: var(--ink-2); font-size: 11px; font-weight: 600; flex: none;
}
#dock button:hover { background: rgba(20, 30, 50, 0.06); color: var(--ink); }
#dock button.on { background: var(--accent); color: #fff; }

#substyles {
  position: fixed; z-index: 19; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--dock-h) + 18px + var(--sab)); border-radius: 14px; padding: 5px;
  display: flex; gap: 4px; max-width: calc(100vw - 16px); overflow-x: auto; scrollbar-width: none;
}
#substyles button {
  height: 36px; padding: 0 12px; border-radius: 10px; font-weight: 600; font-size: 13px; white-space: nowrap; color: var(--ink-2); flex: none;
}
#substyles button.on { background: var(--accent-soft); color: var(--accent); }

/* ---------- chips, hint, toast ---------- */
#level-chip {
  position: fixed; z-index: 18; left: calc(10px + var(--sal)); top: calc(70px + var(--sat));
  height: 38px; padding: 0 12px 0 10px; border-radius: 12px; display: flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 13px; cursor: pointer;
}
#hint {
  position: fixed; z-index: 17; left: 50%; transform: translateX(-50%); top: calc(70px + var(--sat));
  max-width: min(560px, calc(100vw - 150px)); padding: 9px 14px; border-radius: 12px; font-size: 13px; color: var(--ink-2);
  text-align: center; transition: opacity .3s;
}
#toast {
  position: fixed; z-index: 60; left: 50%; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  bottom: calc(var(--dock-h) + 70px + var(--sab)); background: rgba(29, 35, 48, 0.92); color: #fff;
  padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: 13px; transition: all .25s;
  max-width: calc(100vw - 32px); text-align: center;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast button { color: #8fb6ff; font-weight: 700; margin-left: 10px; pointer-events: auto; }

#float-actions {
  position: fixed; z-index: 16; left: 0; top: 0; border-radius: 14px; padding: 4px; display: flex; gap: 2px;
  transform: translate(-50%, calc(-100% - 14px)); transition: opacity .15s;
}
#float-actions button { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; }
#float-actions button:hover { background: rgba(20, 30, 50, 0.07); }
#float-actions button.danger { color: var(--danger); }

/* ---------- sheets (inspector / catalog / panels) ---------- */
.sheet {
  position: fixed; z-index: 30; display: flex; flex-direction: column; overflow: hidden;
  right: calc(10px + var(--sar)); top: calc(70px + var(--sat)); width: 340px;
  max-height: calc(100vh - 70px - var(--sat) - var(--dock-h) - 30px - var(--sab)); border-radius: var(--radius);
}
#catalog { width: 420px; }
.sheet-handle { display: none; }
.sheet-head { display: flex; align-items: center; gap: 10px; padding: 12px 10px 8px 16px; }
.sheet-icon { color: var(--accent); }
.sheet-title { margin: 0; font-size: 16px; font-weight: 700; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-body { overflow-y: auto; padding: 0 16px 12px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.sheet-actions { display: flex; gap: 6px; padding: 10px 12px 12px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.sheet-actions button {
  flex: 1; min-width: 80px; height: 42px; border-radius: 11px; background: rgba(20, 30, 50, 0.06);
  font-weight: 600; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.sheet-actions button.danger { color: var(--danger); }

.prop { display: flex; align-items: center; gap: 10px; min-height: 46px; border-bottom: 1px solid var(--line); }
.prop:last-child { border-bottom: 0; }
.prop > label { flex: 1; color: var(--ink-2); font-size: 13px; font-weight: 500; }
.prop-section { margin: 16px 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.prop-note { font-size: 12px; color: var(--ink-3); padding: 8px 0; }
.stepper { display: flex; align-items: center; background: rgba(20, 30, 50, 0.06); border-radius: 10px; }
.stepper button { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--ink-2); }
.stepper button:active { background: rgba(20, 30, 50, 0.1); }
.stepper input {
  width: 92px; height: 36px; border: 0; background: transparent; text-align: center; font-weight: 600; outline: none;
  font-variant-numeric: tabular-nums;
}
.stepper input:focus { background: #fff; border-radius: 8px; box-shadow: 0 0 0 2px var(--accent); }
.text-input {
  width: 170px; height: 36px; border: 0; border-radius: 10px; background: rgba(20, 30, 50, 0.06); padding: 0 10px; font-weight: 600; outline: none;
}
.text-input:focus { background: #fff; box-shadow: 0 0 0 2px var(--accent); }
select.sel {
  height: 36px; border: 0; border-radius: 10px; background: rgba(20, 30, 50, 0.06); padding: 0 8px; font-weight: 600; max-width: 190px;
  outline: none;
}
.switch { position: relative; width: 50px; height: 30px; flex: none; }
.switch input { opacity: 0; position: absolute; inset: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 15px; background: rgba(20, 30, 50, 0.18); transition: .2s; pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: .2s; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(20px); }
.slider-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; width: 170px; }
.slider-wrap input[type=range] { width: 100%; accent-color: var(--accent); height: 28px; }
.slider-val { font-size: 12px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.finish-btn {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px 0 5px; border-radius: 10px; background: rgba(20, 30, 50, 0.06);
  max-width: 190px; font-weight: 600; font-size: 13px;
}
.finish-btn .sw { width: 28px; height: 28px; border-radius: 7px; border: 1px solid rgba(0,0,0,.12); flex: none; }
.finish-btn span.nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- catalog ---------- */
.cat-search { padding: 0 14px 8px; }
.cat-search input {
  width: 100%; height: 40px; border: 0; border-radius: 11px; background: rgba(20, 30, 50, 0.06); padding: 0 12px; outline: none;
}
.cat-search input:focus { background: #fff; box-shadow: 0 0 0 2px var(--accent); }
.cat-tabs { display: flex; gap: 4px; padding: 0 12px 8px; overflow-x: auto; scrollbar-width: none; flex: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs button {
  height: 34px; padding: 0 12px; border-radius: 10px; font-weight: 600; font-size: 13px; color: var(--ink-2); white-space: nowrap;
  display: flex; align-items: center; gap: 6px; flex: none;
}
.cat-tabs button.on { background: var(--accent-soft); color: var(--accent); }
.cat-grid {
  overflow-y: auto; padding: 4px 12px 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px;
  overscroll-behavior: contain;
}
.cat-card {
  border-radius: 14px; background: rgba(255, 255, 255, 0.9); border: 1px solid var(--line); padding: 10px 8px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; transition: transform .1s, box-shadow .15s;
}
.cat-card:hover { box-shadow: 0 4px 14px rgba(20,30,50,.12); }
.cat-card:active { transform: scale(0.97); }
.cat-thumb { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.cat-img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; background: #f2f2f1; }
.cat-name { font-size: 12px; font-weight: 650; line-height: 1.2; }
.cat-size { font-size: 10.5px; color: var(--ink-3); }

/* ---------- popovers ---------- */
.popover { position: fixed; z-index: 50; border-radius: 14px; padding: 6px; min-width: 230px; max-width: calc(100vw - 20px); }
#menu button {
  width: 100%; height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 12px; border-radius: 10px; font-weight: 550; text-align: left;
}
#menu button:hover { background: rgba(20, 30, 50, 0.06); }
#menu hr { border: 0; border-top: 1px solid var(--line); margin: 4px 6px; }
#menu .menu-foot { font-size: 11px; color: var(--ink-3); padding: 6px 12px 4px; }
#picker { width: 300px; padding: 12px; max-height: 70vh; overflow-y: auto; }
.pk-title { font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.pk-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }
.pk-sw { aspect-ratio: 1; border-radius: 9px; border: 1px solid rgba(0,0,0,.12); position: relative; }
.pk-sw.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }
.pk-name { font-size: 12px; color: var(--ink-2); margin: 8px 0 10px; min-height: 16px; }
.pk-custom { display: flex; gap: 8px; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.pk-custom input[type=color] { width: 44px; height: 36px; border: 0; padding: 0; background: none; }
.pk-reset { margin-top: 10px; width: 100%; height: 38px; border-radius: 10px; background: rgba(20, 30, 50, 0.06); font-weight: 600; }

.modal { position: fixed; inset: 0; z-index: 70; background: rgba(20, 25, 35, 0.35); display: grid; place-items: center; padding: 16px; }
.modal-card { width: min(520px, 100%); max-height: 85vh; overflow-y: auto; border-radius: 20px; padding: 20px; background: var(--glass-strong); }
.modal-card h3 { margin: 0 0 12px; font-size: 18px; }
.modal-card p { color: var(--ink-2); margin: 6px 0 14px; }
.proj-row { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; }
.proj-row:hover { background: rgba(20, 30, 50, 0.05); }
.proj-row .pname { flex: 1; font-weight: 650; }
.proj-row .pdate { font-size: 12px; color: var(--ink-3); }
.btn-row { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; flex-wrap: wrap; }
.btn { height: 42px; padding: 0 16px; border-radius: 11px; background: rgba(20, 30, 50, 0.07); font-weight: 650; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.danger { color: var(--danger); }
.kbd-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.kbd-table td { padding: 5px 4px; border-bottom: 1px solid var(--line); }
kbd { font: 600 11px var(--font); background: #fff; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 2px 6px; }

/* ---------- render & walk HUD ---------- */
#render-hud {
  position: fixed; z-index: 25; left: 50%; transform: translateX(-50%); bottom: calc(12px + var(--sab));
  border-radius: 18px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; min-width: min(460px, calc(100vw - 20px));
}
.rh-status { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; color: var(--ink-2); }
.rh-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.2s infinite; }
.rh-dot.done { background: #30a46c; animation: none; }
@keyframes pulse { 50% { opacity: .3; } }
.rh-bar { height: 4px; border-radius: 2px; background: rgba(20, 30, 50, 0.1); overflow: hidden; }
.rh-fill { height: 100%; width: 0; background: var(--accent); transition: width .3s; }
.rh-buttons { display: flex; gap: 6px; justify-content: flex-end; }
#walk-hud .walk-top { position: fixed; z-index: 25; top: calc(12px + var(--sat)); left: calc(12px + var(--sal)); display: flex; gap: 8px; }
.walk-fly { position: fixed; z-index: 25; right: calc(16px + var(--sar)); bottom: calc(110px + var(--sab)); display: flex; flex-direction: column; gap: 12px; }
body.walking #topbar, body.walking #dock, body.walking #level-chip, body.walking #substyles, body.walking #inspector, body.walking #float-actions { display: none !important; }
body.rendering #dock, body.rendering #substyles, body.rendering #float-actions { display: none !important; }
body.walking.rendering #render-hud { bottom: calc(12px + var(--sab)); }

/* ---------- boot ---------- */
#boot { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--bg); transition: opacity .4s; }
#boot.gone { opacity: 0; pointer-events: none; }
.boot-card { text-align: center; }
.boot-logo { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 20px; background: url(icons/icon.svg) center/cover; box-shadow: var(--shadow); }
.boot-title { font-size: 22px; font-weight: 750; }
.boot-sub { color: var(--ink-2); margin-top: 6px; max-width: 320px; }

/* ---------- responsive: phones ---------- */
@media (max-width: 720px) {
  :root { --dock-h: 60px; }
  #topbar { height: 50px; gap: 2px; }
  .title-btn { max-width: 28vw; font-size: 14px; padding: 8px 6px; }
  #topbar .pill-btn .pl { display: none; }
  #topbar .pill-btn { padding: 0 11px; }
  .segmented button { min-width: 44px; padding: 0 8px; }
  #undo-group .icon-btn { width: 40px; }
  #dock { left: 8px; right: 8px; transform: none; justify-content: space-between; border-radius: 18px; }
  #dock button { min-width: 50px; flex: 1; }
  #hint { top: auto; bottom: calc(var(--dock-h) + 22px + var(--sab)); max-width: calc(100vw - 24px); font-size: 12.5px; }
  body.has-substyles #hint { bottom: calc(var(--dock-h) + 70px + var(--sab)); }
  /* Sheets float above the tool dock (and the style chips) so tools stay reachable. */
  .sheet, #catalog {
    left: 8px; right: 8px; top: auto; width: auto; border-radius: 20px;
    bottom: calc(var(--dock-h) + 18px + var(--sab));
    max-height: min(52vh, calc(100vh - 70px - var(--sat) - var(--dock-h) - 30px - var(--sab)));
  }
  body.has-substyles .sheet { bottom: calc(var(--dock-h) + 66px + var(--sab)); max-height: min(46vh, calc(100vh - 70px - var(--sat) - var(--dock-h) - 80px - var(--sab))); }
  .sheet-handle { display: block; width: 40px; height: 5px; border-radius: 3px; background: rgba(20,30,50,.2); margin: 8px auto 0; flex: none; }
  /* Collapsed: just the header strip. */
  .sheet.collapsed .sheet-body, .sheet.collapsed .sheet-actions, .sheet.collapsed .cat-search,
  .sheet.collapsed .cat-tabs, .sheet.collapsed .cat-grid { display: none; }
  .sheet.collapsed .sheet-head { padding-bottom: 10px; }
  #picker { left: 8px !important; right: 8px; width: auto !important; bottom: 8px; top: auto !important; }
  .cat-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
}
@media (max-width: 380px) {
  #btn-walk, #btn-render { padding: 0 9px; }
  #dock .tl { display: none; }
}
@media (hover: none) {
  .icon-btn:hover, .pill-btn:hover, #dock button:hover { background: inherit; }
  /* A backdrop blur over the 3D canvas is recomputed on every canvas frame,
     which phones and tablets can't afford: use a near-opaque fill instead. */
  :root { --glass: rgba(255, 255, 255, 0.95); }
  .glass { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

#perf {
  position: fixed; z-index: 40; left: calc(8px + var(--sal)); top: calc(68px + var(--sat));
  padding: 6px 8px; border-radius: 8px; background: rgba(15, 20, 30, 0.78); color: #e8eefc;
  font: 11px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre; pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Material pattern hints on swatches */
.k-wood_planks, .k-wood { background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.16) 0 1px, transparent 1px 7px), linear-gradient(90deg, rgba(255,255,255,.08), rgba(0,0,0,.08)); }
.k-herringbone { background-image: repeating-linear-gradient(45deg, rgba(0,0,0,.14) 0 1px, transparent 1px 6px), repeating-linear-gradient(-45deg, rgba(0,0,0,.14) 0 1px, transparent 1px 6px); }
.k-tile { background-image: linear-gradient(rgba(0,0,0,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.18) 1px, transparent 1px); background-size: 9px 9px; }
.k-large_tile { background-image: linear-gradient(rgba(0,0,0,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.18) 1px, transparent 1px); background-size: 16px 16px; }
.k-brick { background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px); background-size: 100% 5px; }
.k-siding { background-image: linear-gradient(rgba(0,0,0,.22) 1px, transparent 2px); background-size: 100% 6px; }
.k-shingles { background-image: linear-gradient(rgba(0,0,0,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.15) 1px, transparent 1px); background-size: 8px 5px; }
.k-marble { background-image: linear-gradient(115deg, transparent 40%, rgba(120,120,125,.35) 45%, transparent 50%, transparent 70%, rgba(120,120,125,.25) 73%, transparent 76%); }
.k-carpet, .k-fabric { background-image: radial-gradient(rgba(0,0,0,.1) 1px, transparent 1px); background-size: 3px 3px; }
.k-stone { background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,.2) 20%, transparent 21%), radial-gradient(circle at 70% 70%, rgba(0,0,0,.12) 18%, transparent 19%); background-size: 12px 12px; }
.k-metal, .k-chrome, .k-mirror { background-image: linear-gradient(135deg, rgba(255,255,255,.45), transparent 45%, rgba(0,0,0,.15)); }
.k-glass, .k-water { background-image: linear-gradient(135deg, rgba(255,255,255,.6), rgba(255,255,255,.1) 50%, rgba(255,255,255,.4)); }
.k-gloss, .k-satin, .k-leather { background-image: linear-gradient(135deg, rgba(255,255,255,.3), transparent 55%); }
.k-light { box-shadow: 0 0 10px 2px rgba(255, 220, 150, .7) inset; }
.k-concrete { background-image: radial-gradient(rgba(0,0,0,.08) 1px, transparent 1px); background-size: 4px 4px; }
.k-grass { background-image: radial-gradient(rgba(0,40,0,.2) 1px, transparent 1px); background-size: 3px 3px; }
