/* HALLOW — pumpkin carving studio.
   A cellar at night: ink-purple ground, ember orange, one candle. Type is a
   condensed display face for headings against a plain UI sans, because the
   whole thing should feel like a poster you can carve on. */

:root {
  --ink: #08060f;
  --ink2: #0d0a18;
  --panel: #130f20;
  --panel2: #191327;
  --line: #2a2039;
  --line2: #3a2c50;
  --txt: #efe6f5;
  --dim: #a294b6;
  --dim2: #7a6b90;
  --ember: #ff8a1e;
  --ember2: #ffb347;
  --blood: #d63a2a;
  --slime: #7ad97a;
  --witch: #a367f0;
  --bone: #f2e2c4;
  --r: 12px;
  --rail: 314px;
  --shadow: 0 18px 44px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--ink);
  color: var(--txt);
  font: 14px/1.5 ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  display: grid;
  grid-template-rows: auto 1fr;
  background:
    radial-gradient(1100px 620px at 50% -8%, #1d1230 0%, transparent 62%),
    radial-gradient(700px 420px at 84% 108%, #2a1020 0%, transparent 60%),
    var(--ink);
}

button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--ember); color: #200a00; }

/* ───────────────────────────── header ───────────────────────────── */

.top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(28, 18, 44, .96), rgba(13, 10, 24, .92));
  backdrop-filter: blur(8px);
  z-index: 30;
}

.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }

.brand .mark {
  width: 34px; height: 34px;
  color: var(--ember);
  filter: drop-shadow(0 0 12px rgba(255, 138, 30, .5));
  flex: 0 0 auto;
}
.brand .mark svg { width: 100%; height: 100%; display: block; }

.brand .name {
  display: flex; flex-direction: column; line-height: 1.05;
  font-weight: 800; letter-spacing: .16em; font-size: 17px;
  font-family: 'Haettenschweiler', 'Arial Narrow', ui-sans-serif, sans-serif;
  text-transform: uppercase;
}
.brand .name em {
  font: 400 10.5px/1.4 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .1em; color: var(--dim); font-style: normal; text-transform: none;
}

.top-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.top-actions .sep { width: 1px; height: 22px; background: var(--line2); margin: 0 4px; }

.ghost {
  display: inline-flex; align-items: center; gap: 7px;
  background: #1a1428; border: 1px solid var(--line2); color: var(--txt);
  padding: 7px 11px; border-radius: 9px; transition: .16s;
  white-space: nowrap;
}
.ghost:hover:not(:disabled) { border-color: var(--ember); color: var(--ember2); transform: translateY(-1px); }
.ghost:disabled { opacity: .35; cursor: default; }
.ghost .i { font-size: 15px; line-height: 1; }

.sound {
  display: flex; align-items: center; gap: 6px;
  background: #17112a; border: 1px solid var(--line2); border-radius: 9px; padding: 4px 8px;
}
.sound button {
  background: none; border: 0; padding: 3px 5px; border-radius: 6px; font-size: 14px; color: var(--txt);
}
#btnSound { font-size: 16px; }
#btnSound.off { opacity: .45; }
#btnAmb { font-size: 11px; letter-spacing: .04em; color: var(--dim2); border: 1px solid transparent; }
#btnAmb.on { color: var(--witch); border-color: rgba(163, 103, 240, .4); background: rgba(163, 103, 240, .12); }
#vol { width: 62px; }

/* My Designs (js/hive-designs.js): Save / Open, dressed like the header's ghost buttons */
.hd-group { margin-left: auto; display: flex; align-items: center; gap: 6px; flex: none; }
.hd-group + .top-actions { margin-left: 0; }
.hdbtn {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  background: #1a1428; border: 1px solid var(--line2); color: var(--txt);
  padding: 7px 11px; border-radius: 9px; transition: .16s; white-space: nowrap;
  font-size: 13px; line-height: 21px;
}
.hdbtn svg { width: 15px; height: 15px; flex: none; }
.hdbtn:hover { border-color: var(--ember); color: var(--ember2); transform: translateY(-1px); }

/* ───────────────────────────── layout ───────────────────────────── */

main {
  display: grid;
  grid-template-columns: var(--rail) 1fr var(--rail);
  min-height: 0;
}

.rail {
  display: flex; flex-direction: column; min-height: 0;
  background: linear-gradient(180deg, var(--panel), #0f0b1a);
  border-right: 1px solid var(--line);
}
.rail-right { border-right: 0; border-left: 1px solid var(--line); }

.rail-inner { overflow-y: auto; padding: 14px; flex: 1; min-height: 0; }
.rail-inner::-webkit-scrollbar { width: 10px; }
.rail-inner::-webkit-scrollbar-thumb { background: #2c2140; border-radius: 8px; border: 3px solid transparent; background-clip: content-box; }

.block { margin: 0 0 18px; }
.block h2 {
  margin: 0 0 9px;
  font: 700 11px/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .18em; text-transform: uppercase; color: var(--dim2);
}
.note { margin: 6px 0 0; font-size: 11.5px; color: var(--dim2); line-height: 1.45; }
.foot { margin: 22px 0 6px; font-size: 11px; color: #5d5175; text-align: center; }


/* ───────────────────────────── cards ───────────────────────────── */


.cards { display: grid; gap: 6px; }
.cards.tight { grid-template-columns: 1fr 1fr; }

/* the pumpkin picker: the shape IS the label, so the text can be tiny */
.pumpkins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.pump {
  display: grid; place-items: center; gap: 1px;
  background: #17112a; border: 1px solid var(--line); border-radius: 10px;
  padding: 6px 3px 5px; transition: .14s;
}
.pump canvas { display: block; }
.pump span {
  font-size: 9.5px; line-height: 1.15; text-align: center; color: var(--dim2);
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pump:hover { border-color: var(--line2); background: #1e1630; }
.pump:hover span { color: var(--txt); }
.pump.on { border-color: var(--ember); background: linear-gradient(180deg, #2a1a2c, #1c1228); }
.pump.on span { color: var(--ember2); }
@media (max-width: 1180px) { .pumpkins { grid-template-columns: repeat(2, 1fr); } }
.card {
  display: block; text-align: left;
  background: #17112a; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 10px; transition: .14s;
}
.card b { display: block; font-size: 12.5px; }
.card em { display: block; font-size: 10.5px; color: var(--dim2); font-style: normal; line-height: 1.35; margin-top: 1px; }
.card:hover { border-color: var(--line2); background: #1e1630; }
.card.on { border-color: var(--ember); background: linear-gradient(180deg, #2a1a2c, #1c1228); box-shadow: inset 0 0 0 1px rgba(255, 138, 30, .18); }

button.wide {
  width: 100%; margin-top: 8px;
  background: #1c1430; border: 1px dashed var(--line2); color: var(--dim);
  padding: 9px; border-radius: 10px; transition: .16s;
}
button.wide:hover { border-color: var(--ember); color: var(--ember2); border-style: solid; }

.btnrow { display: flex; gap: 6px; margin-top: 8px; }
.btnrow button {
  flex: 1; background: #1c1430; border: 1px solid var(--line2); color: var(--txt);
  padding: 8px; border-radius: 9px; font-size: 12px;
}
.btnrow button:hover { border-color: var(--ember); color: var(--ember2); }

/* ───────────────────────────── controls ───────────────────────────── */

.ctl { margin: 0 0 13px; }
.ctl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 5px; }
.ctl-head label { font-size: 12px; color: var(--txt); }
.ctl-head output { font-size: 11.5px; color: var(--ember2); font-variant-numeric: tabular-nums; }

input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 20px; background: none; margin: 0;
}
input[type=range]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 3px;
  background: linear-gradient(90deg, #5a3a1c, #2a2039);
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 15px; height: 15px; margin-top: -5.5px;
  border-radius: 50%; background: var(--ember);
  border: 2px solid #22162c; box-shadow: 0 0 10px rgba(255, 138, 30, .55);
}
input[type=range]::-moz-range-track { height: 4px; border-radius: 3px; background: #2a2039; }
input[type=range]::-moz-range-thumb {
  width: 13px; height: 13px; border-radius: 50%; background: var(--ember); border: 2px solid #22162c;
}

.seg { display: flex; gap: 3px; background: #120d20; border: 1px solid var(--line); border-radius: 9px; padding: 3px; }
.seg button {
  flex: 1; background: none; border: 0; color: var(--dim); padding: 6px 4px;
  border-radius: 7px; font-size: 11.5px; transition: .14s; white-space: nowrap;
}
.seg button:hover { color: var(--txt); }
.seg button.on { background: linear-gradient(180deg, #3a2416, #2a1a2e); color: var(--ember2); box-shadow: inset 0 0 0 1px rgba(255, 138, 30, .3); }

select {
  width: 100%; background: #120d20; border: 1px solid var(--line); color: var(--txt);
  padding: 8px 10px; border-radius: 9px;
}

.toggle {
  display: flex; align-items: center; gap: 9px; width: 100%;
  background: #17112a; border: 1px solid var(--line); color: var(--txt);
  padding: 9px 11px; border-radius: 10px; transition: .14s;
}
.toggle .box {
  width: 17px; height: 17px; border-radius: 5px; border: 1px solid var(--line2);
  display: grid; place-items: center; font-size: 11px; color: #1a0d02; background: #120d20;
}
.toggle.on { border-color: var(--ember); }
.toggle.on .box { background: var(--ember); border-color: var(--ember); }
.toggle .lab { font-size: 12.5px; }

.swatches { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.sw { width: 24px; height: 24px; border-radius: 7px; border: 2px solid transparent; }
.sw.on { border-color: var(--txt); box-shadow: 0 0 0 2px #120d20 inset; }
input[type=color] {
  width: 30px; height: 26px; padding: 0; border: 1px solid var(--line2);
  border-radius: 7px; background: none;
}

.textrow { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.textrow input[type=text] {
  grid-column: 1 / -1;
  background: #120d20; border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px;
}
.textrow input[type=text]:focus { outline: 0; border-color: var(--ember); }
.textrow select { grid-column: 1; }
.textrow button {
  background: #2a1a2e; border: 1px solid var(--ember); color: var(--ember2);
  border-radius: 9px; padding: 8px 14px;
}

.chips { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.chips button {
  background: #17112a; border: 1px solid var(--line); color: var(--dim);
  padding: 5px 10px; border-radius: 99px; font-size: 11.5px;
}
.chips button.on { border-color: var(--ember); color: var(--ember2); background: #26182c; }

.stencil-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.stencil {
  display: grid; gap: 2px; place-items: center;
  background: #120d20; border: 1px solid var(--line); border-radius: 9px; padding: 6px 3px 4px;
  transition: .14s;
}
.stencil canvas { width: 40px; height: 40px; display: block; }
.stencil span { font-size: 9px; color: var(--dim2); text-align: center; line-height: 1.15; }
.stencil:hover { border-color: var(--ember); background: #1d1430; }
.stencil.on { border-color: var(--ember); box-shadow: 0 0 0 1px var(--ember) inset; }

/* ───────────────────────────── stage ───────────────────────────── */

.stage { position: relative; min-width: 0; overflow: hidden; background: #06040c; }
#view { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
#view.carving { cursor: crosshair; }
#view.panning { cursor: grab; }
#view.panning:active { cursor: grabbing; }

.stage::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 42%, rgba(3, 2, 8, .72) 100%);
}

.dock {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  display: grid; gap: 4px; z-index: 6;
  background: rgba(16, 11, 28, .84); border: 1px solid var(--line2);
  border-radius: 13px; padding: 6px; backdrop-filter: blur(9px); box-shadow: var(--shadow);
}
.tool {
  display: grid; place-items: center; gap: 1px; width: 54px; padding: 6px 2px;
  background: none; border: 1px solid transparent; border-radius: 9px; color: var(--dim);
  transition: .14s;
}
.tool i { font-size: 16px; font-style: normal; line-height: 1; }
.tool span { font-size: 9px; letter-spacing: .02em; }
.tool:hover { color: var(--txt); background: #221733; }
.tool.on { color: var(--ember2); border-color: var(--ember); background: linear-gradient(180deg, #33200f, #201430); }

.stage-top { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 5; }
.stage-tools {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5; max-width: calc(100% - 96px); flex-wrap: wrap; justify-content: center;
}
.stage-zoom { position: absolute; right: 12px; bottom: 12px; display: grid; gap: 4px; z-index: 5; }

.tool-group {
  display: flex; gap: 2px; align-items: center;
  background: rgba(16, 11, 28, .84); border: 1px solid var(--line2);
  border-radius: 10px; padding: 3px; backdrop-filter: blur(9px);
}
.tool-group button {
  background: none; border: 0; color: var(--dim2); padding: 6px 9px; border-radius: 7px;
  font-size: 11px; letter-spacing: .05em; transition: .14s; white-space: nowrap;
}
.tool-group button:hover { color: var(--txt); background: #241835; }
.tool-group button.on { color: var(--ember2); background: #33200f; }
.stage-zoom button {
  width: 32px; height: 32px; border-radius: 9px; font-size: 15px;
  background: rgba(16, 11, 28, .84); border: 1px solid var(--line2); color: var(--dim);
  backdrop-filter: blur(9px);
}
.stage-zoom button:hover { color: var(--ember2); border-color: var(--ember); }
.stage-busy {
  position: absolute; inset: 0; display: none; place-items: center; align-content: center;
  gap: 14px; z-index: 12; background: rgba(6, 4, 12, .74); backdrop-filter: blur(3px);
  justify-items: center;
}
.stage-busy.on { display: grid; }
.stage-busy span {
  width: 42px; height: 42px; border-radius: 50%;
  border: 3px solid rgba(255, 138, 30, .18); border-top-color: var(--ember);
  animation: spin .8s linear infinite;
}
.stage-busy b { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ember2); }
@keyframes spin { to { transform: rotate(360deg); } }

.settle-pip {
  position: absolute; left: 12px; top: 12px; z-index: 6;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ember2);
  background: rgba(16, 11, 28, .8); border: 1px solid var(--line2);
  padding: 4px 9px; border-radius: 99px; opacity: 0; transition: opacity .18s;
}
.stage.settling .settle-pip { opacity: 1; animation: pulse 1.1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }

/* the bar over the model: whatever tool you hold, its settings are here */
.toolbar {
  position: absolute; top: 54px; left: 50%; transform: translateX(-50%);
  display: none; align-items: center; gap: 10px; z-index: 7;
  background: rgba(28, 17, 12, .93); border: 1px solid var(--ember);
  border-radius: 99px; padding: 6px 10px 6px 12px;
  box-shadow: 0 0 26px rgba(255, 138, 30, .26), var(--shadow);
  backdrop-filter: blur(9px);
  max-width: calc(100% - 24px);
}
.toolbar.on { display: flex; animation: drop .2s ease-out; }
@keyframes drop { from { opacity: 0; transform: translateX(-50%) translateY(-14px); } }
.toolbar > b { font-size: 12px; white-space: nowrap; }
.toolbar > canvas { display: block; margin-right: -3px; }
.toolbar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 9px var(--ember); }
.toolbar .mini {
  display: flex; align-items: center; gap: 7px;
  padding-left: 10px; border-left: 1px solid rgba(255, 179, 71, .26);
}
.toolbar .mini span {
  font-size: 9.5px; letter-spacing: .11em; text-transform: uppercase; color: #d9a06a;
}
.toolbar .mini input[type=range] { width: 84px; height: 16px; }
.toolbar .mini output {
  font-size: 11px; color: var(--ember2); font-variant-numeric: tabular-nums;
  min-width: 40px; text-align: right;
}
.toolbar .barseg {
  display: flex; gap: 2px; padding: 2px; margin-left: 4px;
  background: rgba(10, 6, 16, .6); border-radius: 99px;
}
.toolbar .barseg button {
  background: none; border: 0; color: #cfa07a;
  padding: 4px 9px; border-radius: 99px; font-size: 10.5px; white-space: nowrap;
}
.toolbar .barseg button.on { background: var(--ember); color: #2a0e00; font-weight: 700; }
.toolbar .drop {
  background: none; border: 0; color: #d9b48a; font-size: 13px; padding: 2px 4px; margin-left: 2px;
}

@media (max-width: 1000px) {
  .toolbar { flex-wrap: wrap; justify-content: center; border-radius: 16px; row-gap: 4px; }
  .toolbar .mini { padding-left: 0; border-left: 0; }
  .toolbar .mini input[type=range] { width: 68px; }
}

/* what is left of the report: only what would ruin the print */

.warnstrip { padding: 0 12px 4px; display: grid; gap: 5px; }
.warnstrip p { margin: 0; font-size: 11.5px; line-height: 1.4; }
.warnstrip .tally {
  color: var(--dim2); font-variant-numeric: tabular-nums; letter-spacing: .02em;
  text-align: center; padding: 4px 0 2px;
}
.warnstrip .warn {
  color: #ffd2a8; background: rgba(255, 138, 30, .1);
  border-left: 2px solid var(--ember); padding: 7px 9px; border-radius: 0 8px 8px 0;
}

.exports { padding: 12px; border-top: 1px solid var(--line); display: grid; gap: 7px; background: #0f0b1a; }
.exports .primary {
  display: grid; gap: 1px; text-align: left; padding: 11px 14px; border-radius: 11px;
  background: linear-gradient(180deg, #ff8a1e, #dd5f10); border: 0; color: #2a0e00;
  box-shadow: 0 8px 22px rgba(255, 138, 30, .28);
  transition: .16s;
}
.exports .primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(255, 138, 30, .4); }
.exports .primary b { font-size: 13.5px; }
.exports .primary i { font-size: 10.5px; font-style: normal; opacity: .78; }
.export-row { display: flex; gap: 7px; }
.export-row button {
  flex: 1; background: #1c1430; border: 1px solid var(--line2); color: var(--txt);
  padding: 9px; border-radius: 9px; font-size: 12px;
}
.export-row button:hover { border-color: var(--ember); color: var(--ember2); }
/* a failed or empty rebuild: nothing current to download (the reason is in #warnstrip) */
.exports button:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }

/* ───────────────────────────── modal ───────────────────────────── */

.modal { position: fixed; inset: 0; display: none; place-items: center; z-index: 60; background: rgba(4, 3, 9, .8); backdrop-filter: blur(5px); }
.modal.on { display: grid; }
.sheet {
  background: var(--panel2); border: 1px solid var(--line2); border-radius: 16px;
  box-shadow: var(--shadow); overflow: hidden; max-width: 94vw;
}
.sheet header, .sheet footer {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #150f24;
}
.sheet header b { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.sheet header button { margin-left: auto; background: none; border: 0; color: var(--dim); font-size: 15px; }
.sheet footer { border-top: 1px solid var(--line); }
.sheet footer label { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--dim2); margin-right: auto; }
.sheet footer input[type=range] { width: 90px; }
.sheet footer button { background: #1c1430; border: 1px solid var(--line2); color: var(--txt); padding: 7px 13px; border-radius: 9px; font-size: 12px; }
.sheet footer button.primary { background: var(--ember); border-color: var(--ember); color: #2a0e00; font-weight: 700; }
#padCanvas {
  display: block; background:
    repeating-linear-gradient(0deg, #120d20 0 27px, #16102a 27px 28px),
    repeating-linear-gradient(90deg, #120d20 0 27px, #16102a 27px 28px);
  touch-action: none; cursor: crosshair; max-width: 94vw; height: auto;
}

/* ───────────────────────────── toast ───────────────────────────── */

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px);
  background: #221530; border: 1px solid var(--ember); color: var(--txt);
  padding: 10px 16px; border-radius: 11px; font-size: 12.5px; max-width: min(560px, 88vw);
  opacity: 0; pointer-events: none; transition: .22s; z-index: 70; box-shadow: var(--shadow);
  text-align: center;
}
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.bad { border-color: var(--blood); background: #2d1218; }

/* ───────────────────────────── responsive ───────────────────────────── */

.tabbar { display: none; }

@media (max-width: 1180px) {
  :root { --rail: 268px; }
  .ghost .t { display: none; }
  .stencil-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  body { grid-template-rows: auto 1fr auto; }
  main { grid-template-columns: 1fr; }
  .rail, .stage { display: none; }
  body[data-pane=pumpkin] .rail-left,
  body[data-pane=carve] .rail-right,
  body[data-pane=view] .stage { display: flex; }
  body[data-pane=view] .stage { display: block; }
  .rail { border: 0; }
  .tabbar {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
    padding: 6px; border-top: 1px solid var(--line); background: #0f0b1a;
    padding-bottom: max(6px, env(safe-area-inset-bottom));
  }
  .tabbar button {
    background: #17112a; border: 1px solid var(--line); color: var(--dim);
    padding: 10px; border-radius: 10px; font-size: 12px;
  }
  .tabbar button.on { border-color: var(--ember); color: var(--ember2); }
  .dock {
    left: 8px; gap: 2px; padding: 4px; top: auto; bottom: 96px; transform: none;
    grid-template-columns: repeat(2, 1fr);
  }
  .tool { width: 46px; }
  .sound #vol { display: none; }
  #btnAmb { display: none; }
  .exports { padding: 10px; }
  /* My Designs: when the header runs out of room it takes a second row (actions under Save / Open) */
  .top { flex-wrap: wrap; row-gap: 8px; }
  .hd-group + .top-actions { margin-left: auto; }
}
/* phones: the subtitle gives way so Save / Open keep their words (touch has no tooltips);
   the words go only on the narrowest screens. The header never scrolls sideways. */
@media (max-width: 480px) {
  .top { gap: 8px 10px; padding: 8px 10px; }
  .brand .name em { display: none; }
  .hdbtn { padding: 7px 9px; }
}
@media (max-width: 330px) {
  .hdbtn span { display: none; }
}
