/* 信发系统 · 管理端样式
   深色控制台风格：底 #0d1117 系，强调色青绿 #22d3ee，辅助琥珀 #fbbf24 */

:root {
  --bg: #0b1014;
  --panel: #141b21;
  --panel-2: #1a232b;
  --line: #26323c;
  --text: #e6edf3;
  --muted: #8b9aa8;
  --accent: #22d3ee;
  --accent-dim: rgba(34, 211, 238, .14);
  --warn: #fbbf24;
  --danger: #f4736c;
  --ok: #34d399;
  --radius: 10px;
  --mono: "Cascadia Mono", "Sarasa Mono SC", Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: 14px;
}

.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.mono { font-family: var(--mono); }
.error-text { color: var(--danger); min-height: 18px; font-size: 12.5px; margin: 6px 0 0; }

/* ---------------------------------------------------------------- 登录 */
.login-wrap {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(34, 211, 238, .10), transparent 70%),
    radial-gradient(700px 500px at 85% 90%, rgba(251, 191, 36, .07), transparent 70%),
    var(--bg);
}

.login-card {
  width: 356px;
  padding: 34px 32px 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
}

.login-card h1 { font-size: 21px; margin: 14px 0 6px; letter-spacing: .08em; }
.login-card p { margin: 0; }
.login-card label { display: block; margin: 22px 0 0; font-size: 13px; color: var(--muted); }
.login-card input { margin-top: 7px; }
.login-card .btn { margin-top: 18px; }
.login-card .hint { margin-top: 16px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.login-card code { color: var(--accent); font-family: var(--mono); }

.brand-mark {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #22d3ee, #0e7490);
  color: #04181d;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .05em;
}
.brand-mark.small { width: 34px; height: 34px; font-size: 15px; border-radius: 9px; }
.brand-logo { background: transparent; padding: 0; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* 品牌图标：蓝色方形 App 图标（brand-icon.png 自带圆角与留白），方形展示 */
.brand-mark.brand-logo { width: 46px; height: 46px; }
.brand-mark.small.brand-logo { width: 34px; height: 34px; }
/* 登录页的图标可以大一点 */
.login-card .brand-mark.brand-logo { width: 64px; height: 64px; margin: 0 auto 12px; }

/* ---------------------------------------------------------------- 布局 */
.app { display: flex; height: 100%; }

.sidebar {
  width: 208px;
  flex: 0 0 208px;
  background: #10171d;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 18px 14px;
  gap: 18px;
}

.brand { display: flex; gap: 10px; align-items: center; padding: 2px 4px; }
.brand-name { font-weight: 700; letter-spacing: .06em; }
.brand-sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

.nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--muted);
  font-size: 13.5px;
  cursor: pointer;
  text-align: left;
  transition: .15s;
}
.nav-item .ico { font-size: 13px; opacity: .75; }
.nav-item:hover { background: rgba(255, 255, 255, .04); color: var(--text); }
.nav-item.active {
  background: var(--accent-dim);
  border-color: rgba(34, 211, 238, .35);
  color: var(--accent);
}

.sidebar-foot { display: flex; flex-direction: column; gap: 8px; font-size: 12px; padding: 0 6px; }
.link { background: none; border: 0; color: var(--muted); cursor: pointer; text-align: left; padding: 0; font-size: 12.5px; }
.link:hover { color: var(--accent); }

.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }

.topbar {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 20px 26px 14px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.topbar h1 { font-size: 19px; margin: 0; letter-spacing: .04em; }
.topbar #view-sub { margin-top: 5px; }
.topbar-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }

.view-body { flex: 1; overflow: auto; padding: 20px 26px 40px; }
.view { display: none; }
.view.active { display: block; animation: fade .18s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- 通用组件 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  transition: .15s;
  white-space: nowrap;
  font-family: inherit;
}
.btn:hover { border-color: #3a4a58; background: #202b34; }
.btn.primary {
  background: linear-gradient(135deg, #22d3ee, #0891b2);
  border-color: transparent;
  color: #032128;
  font-weight: 700;
}
.btn.primary:hover { filter: brightness(1.07); }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--danger); border-color: rgba(244, 115, 108, .35); }
.btn.danger:hover { background: rgba(244, 115, 108, .12); }
.btn.small { padding: 5px 10px; font-size: 12px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.card + .card { margin-top: 16px; }
.card-title { font-size: 14px; font-weight: 700; margin: 0 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-title .sub { font-weight: 400; color: var(--muted); font-size: 12px; }

.grid { display: grid; gap: 14px; }
.grid.stats { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.grid.two { grid-template-columns: 1fr 1fr; }
.grid.three { grid-template-columns: repeat(3, 1fr); }

.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 17px;
  position: relative;
  overflow: hidden;
}
.stat::after {
  content: "";
  position: absolute; left: 0; top: 0; width: 3px; height: 100%;
  background: var(--accent); opacity: .8;
}
.stat .label { font-size: 12px; color: var(--muted); }
.stat .value { font-size: 26px; font-weight: 700; margin-top: 6px; font-family: var(--mono); letter-spacing: .02em; }
.stat .foot { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.stat.ok::after { background: var(--ok); }
.stat.warn::after { background: var(--warn); }

table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-weight: 500; font-size: 12px; letter-spacing: .03em; background: rgba(255, 255, 255, .02); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255, 255, 255, .025); }

.tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, .02);
  white-space: nowrap;
}
.tag.ok { color: var(--ok); border-color: rgba(52, 211, 153, .4); background: rgba(52, 211, 153, .1); }
.tag.off { color: #7b8894; border-color: #2b3742; }
.tag.warn { color: var(--warn); border-color: rgba(251, 191, 36, .4); background: rgba(251, 191, 36, .1); }
.tag.info { color: var(--accent); border-color: rgba(34, 211, 238, .4); background: var(--accent-dim); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }

input, select, textarea {
  background: #0f161b;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 13px;
  font-family: inherit;
  width: 100%;
  outline: none;
  transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { border-color: rgba(34, 211, 238, .55); }
input[type="checkbox"] { width: auto; accent-color: var(--accent); }
input[type="color"] { padding: 2px; height: 36px; }
textarea { resize: vertical; min-height: 72px; line-height: 1.6; }
label.field { display: block; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.switch-row { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text); }
.switch-row input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--accent); cursor: pointer; }

/* API 文档 */
.api-card { padding: 14px 16px; }
.api-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.method { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px; letter-spacing: .5px; }
.method-get { background: rgba(46,160,67,.18); color: #3fb950; }
.method-post { background: rgba(210,153,34,.18); color: #d29922; }
.api-path { font-size: 13px; color: var(--text); background: rgba(255,255,255,.06); padding: 3px 8px; border-radius: 6px; }
.api-params { margin: 4px 0 10px; }
.api-params th, .api-params td { font-size: 12px; padding: 6px 8px; }
.api-code { background: #0b0f12; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 12px; line-height: 1.55; overflow-x: auto; color: #9ecbff; }
label.field > span { display: block; margin-bottom: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.btn-group { display: flex; gap: 6px; flex-wrap: wrap; }
.editor-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.editor-toolbar .small { flex: 1 1 220px; min-width: 160px; }
.layout-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 12px 0; padding: 10px 0; border-top: 1px solid #1c2536; border-bottom: 1px solid #1c2536; }
.layout-label { font-size: 12.5px; color: var(--muted); margin-right: 4px; }
.custom-layout { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; }
.custom-layout input { background: #0f1626; border: 1px solid #243049; color: #fff; border-radius: 6px; padding: 5px 8px; font-size: 12.5px; }
.custom-layout .x { color: var(--muted); }

/* ---------------------------------------------------------------- 素材库 */
.upload-zone {
  border: 1.5px dashed #2b3944;
  border-radius: 12px;
  padding: 26px;
  text-align: center;
  color: var(--muted);
  cursor: pointer;
  transition: .18s;
  margin-bottom: 16px;
  background: rgba(34, 211, 238, .02);
}
.upload-zone:hover, .upload-zone.drag { border-color: var(--accent); color: var(--text); background: var(--accent-dim); }
.upload-zone strong { color: var(--accent); }

.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 14px; }
.media-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .16s;
}
.media-card:hover { border-color: #35454f; transform: translateY(-1px); }
.media-thumb {
  height: 118px;
  background: #0a0f13 center/cover no-repeat;
  display: grid; place-items: center;
  font-size: 12px; color: var(--muted);
  position: relative;
  border-bottom: 1px solid var(--line);
}
.media-thumb .kind-badge {
  position: absolute; left: 8px; top: 8px;
  padding: 2px 7px; border-radius: 5px;
  background: rgba(0, 0, 0, .6);
  font-size: 11px; color: var(--accent);
  border: 1px solid rgba(34, 211, 238, .3);
}
.media-meta { padding: 10px 12px; }
.media-name { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.media-sub { font-size: 11.5px; color: var(--muted); margin-top: 4px; display: flex; justify-content: space-between; gap: 6px; }
.media-actions { display: flex; gap: 6px; margin-top: 9px; }

/* ---------------------------------------------------------------- 节目编排 */
.program-list { display: flex; flex-direction: column; gap: 10px; }
.program-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: .15s;
}
.program-row:hover, .program-row.active { border-color: rgba(34, 211, 238, .45); background: #16222a; }
.program-row .name { font-weight: 700; font-size: 13.5px; }
.program-row .meta { color: var(--muted); font-size: 11.5px; margin-top: 3px; }
.program-row .actions { display: flex; gap: 6px; flex-shrink: 0; }

.editor { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.editor-canvas-wrap {
  width: 100%;
  overflow: auto;
  display: flex; justify-content: center;
  padding: 12px;
  background: #0c1220;
  border-radius: var(--radius);
  min-height: 320px;
}
#canvas-preview {
  position: relative;
  background: #000;
  overflow: hidden;
  box-shadow: 0 0 0 1px #223, 0 10px 30px rgba(0, 0, 0, .5);
  user-select: none;
}
.preview-region {
  position: absolute;
  overflow: visible;
  display: flex;
  cursor: move;
}
.preview-region.selected { outline: 2px solid var(--accent); outline-offset: -2px; }
.preview-region .ph {
  width: 100%; display: grid; place-items: center;
  font-size: 11px; color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .05);
  text-align: center; padding: 4px; line-height: 1.4;
}
.preview-region img { width: 100%; height: 100%; object-fit: cover; }
.preview-region .rh { position: absolute; width: 10px; height: 10px; background: var(--accent); border: 1.5px solid #fff; border-radius: 2px; z-index: 10; }
.rh-n { top: -5px; left: 50%; margin-left: -5px; cursor: ns-resize; }
.rh-s { bottom: -5px; left: 50%; margin-left: -5px; cursor: ns-resize; }
.rh-e { right: -5px; top: 50%; margin-top: -5px; cursor: ew-resize; }
.rh-w { left: -5px; top: 50%; margin-top: -5px; cursor: ew-resize; }
.rh-ne { top: -5px; right: -5px; cursor: nesw-resize; }
.rh-nw { top: -5px; left: -5px; cursor: nwse-resize; }
.rh-se { bottom: -5px; right: -5px; cursor: nwse-resize; }
.rh-sw { bottom: -5px; left: -5px; cursor: nesw-resize; }
.dropzone { position: absolute; border: 1px dashed rgba(255,255,255,.15); background: rgba(255,255,255,.03); display: grid; place-items: center; font-size: 12px; color: rgba(255,255,255,.35); pointer-events: none; z-index: 50; }
.dropzone.active { border-color: var(--accent); background: rgba(0,200,150,.18); color: #fff; }
.preview-guide { position: absolute; pointer-events: none; z-index: 999; }
.guide-v { top: 0; bottom: 0; width: 0; border-left: 1px dashed var(--accent); }
.guide-h { left: 0; right: 0; height: 0; border-top: 1px dashed var(--accent); }
.preview-label {
  position: absolute; left: 3px; top: 2px;
  font-size: 10px; color: var(--accent);
  background: rgba(0, 0, 0, .55);
  padding: 1px 4px; border-radius: 3px;
  pointer-events: none;
}

.region-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.region-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding: 8px 10px;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px;
  cursor: pointer; font-size: 12.5px;
}
.region-item.selected { border-color: rgba(34, 211, 238, .5); background: #1b2a33; }
.region-item .rname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.region-item .rmeta { color: var(--muted); font-size: 11px; }

.material-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 8px; margin-top: 6px; }
.pick-item {
  border: 1px solid var(--line); border-radius: 7px; overflow: hidden;
  background: #0c1216; cursor: pointer; position: relative;
}
.pick-item:hover { border-color: #3c4d5a; }
.pick-item.on { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(34, 211, 238, .45) inset; }
.pick-item .thumb { height: 52px; background: center/cover no-repeat #0a0f13; }
.pick-item .cap { font-size: 10.5px; padding: 3px 5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-item .ord {
  position: absolute; right: 3px; top: 3px;
  background: var(--accent); color: #04222a;
  font-size: 10px; font-weight: 700; border-radius: 4px; padding: 0 4px;
}

/* ---------------------------------------------------------------- 终端 */
.terminal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.terminal-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 16px;
}
.terminal-card.offline { opacity: .82; }
.terminal-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.terminal-name { font-weight: 700; font-size: 14px; }
.terminal-key { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 3px; }
.kv { display: grid; grid-template-columns: 74px 1fr; gap: 6px 8px; font-size: 12px; margin: 12px 0 0; }
.kv .k { color: var(--muted); }
.kv .v { overflow: hidden; text-overflow: ellipsis; }
.terminal-actions { display: flex; gap: 6px; margin-top: 13px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- 日志 */
.log-line { font-family: var(--mono); font-size: 12px; padding: 4px 0; border-bottom: 1px dashed #1c2731; }
.log-line .t { color: var(--muted); margin-right: 8px; }
.log-line .lv { display: inline-block; width: 46px; }
.log-line .lv.error { color: var(--danger); }
.log-line .lv.warn { color: var(--warn); }
.log-line .lv.info { color: var(--accent); }

/* ---------------------------------------------------------------- 弹窗 / 提示 */
.modal {
  position: fixed; inset: 0; background: rgba(3, 7, 10, .72);
  display: grid; place-items: center; z-index: 60;
  backdrop-filter: blur(3px);
}
.modal-card {
  width: min(560px, 92vw);
  max-height: 86vh; overflow: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.modal-card h2 { font-size: 16px; margin: 0 0 16px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px);
  background: #1b262f; border: 1px solid var(--line);
  color: var(--text); padding: 10px 18px; border-radius: 10px;
  font-size: 13px; opacity: 0; pointer-events: none; transition: .22s;
  z-index: 80; box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.ok { border-color: rgba(52, 211, 153, .5); }
.toast.err { border-color: rgba(244, 115, 108, .55); color: #ffd9d6; }

.table-scroll { overflow-x: auto; }
.table-scroll table { min-width: 780px; }
.table-scroll td { white-space: nowrap; }

.empty { padding: 40px; text-align: center; color: var(--muted); font-size: 13px; }
.panel-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.panel-btn { background: var(--accent); color: #fff; border: 0; border-radius: 10px; padding: 14px 22px; font-size: 15px; cursor: pointer; min-width: 100px; }
.panel-btn:active { opacity: .8; }
.panel-btn.busy { opacity: .5; pointer-events: none; }
.panel-btn.ok { background: #16a34a; }

@media (max-width: 1180px) {
  .editor { grid-template-columns: 1fr; }
  .sidebar { width: 176px; flex-basis: 176px; }
}

/* 窄窗口 / 小屏：侧栏收成图标条，内容区留出空间 */
@media (max-width: 980px) {
  .sidebar { width: 62px; flex-basis: 62px; padding: 14px 8px; }
  .brand { justify-content: center; }
  .brand > div:not(.brand-mark) { display: none; }
  .nav-item { justify-content: center; padding: 11px 0; font-size: 0; }
  .nav-item .ico { font-size: 15px; opacity: .9; }
  .sidebar-foot { align-items: center; font-size: 0; }
  .sidebar-foot #side-clock { display: none; }
  .sidebar-foot .link { font-size: 11px; }
  .topbar { padding: 16px 14px 12px; }
  .view-body { padding: 14px 14px 30px; }
  .grid.stats { grid-template-columns: 1fr 1fr; }
  .editor-canvas-wrap { min-height: 260px; padding: 8px; }
  .form-row.three { grid-template-columns: 1fr 1fr; }
  .layout-row { gap: 6px; }
  .layout-row .btn { flex: 0 0 auto; }
  table { font-size: 12px; }
  th, td { padding: 8px 8px; }
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
} 

@media (max-width: 620px) {
  /* 手机：侧栏改为顶部横条，内容单列 */
  .app { flex-direction: column; }
  .sidebar {
    width: 100%; flex: 0 0 auto;
    flex-direction: row; align-items: center;
    padding: 8px 10px; gap: 8px;
    border-right: 0; border-bottom: 1px solid var(--line);
    overflow-x: auto;
  }
  .brand { flex: 0 0 auto; padding: 0; }
  .brand > div:not(.brand-mark) { display: none; }
  .brand-mark { width: 34px; height: 34px; font-size: 15px; }
  .nav { flex: 1; flex-direction: row; gap: 4px; }
  .nav-item { padding: 8px 10px; font-size: 12.5px; white-space: nowrap; }
  .nav-item .ico { font-size: 13px; }
  .sidebar-foot { display: none; }
  .topbar { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 14px 10px; }
  .topbar-actions { justify-content: flex-start; }
  .view-body { padding: 12px 12px 26px; }
  .terminal-grid { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 68px 1fr; }
  .modal-card { width: calc(100vw - 16px); padding: 18px 16px; }
  .modal-actions { flex-wrap: wrap; }
  .grid.stats, .grid.two, .grid.three { grid-template-columns: 1fr; }
  .form-row, .form-row.three { grid-template-columns: 1fr; }
}
