.dddtech-murdoku,
.dddtech-murdoku *{box-sizing:border-box}
.dddtech-murdoku{
  --mur-green:#355e3b;
  --mur-green-dark:#294a2e;
  --mur-gold:#d6b000;
  --mur-bg:#f6f2e9;
  --mur-card:#fff;
  --mur-ink:#28251f;
  --mur-muted:#6b665d;
  --mur-line:#d8d1c3;
  width:100%;max-width:1120px;margin:0 auto;color:var(--mur-ink);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.dddtech-murdoku__header{
  display:flex;justify-content:space-between;gap:24px;align-items:flex-start;
  padding:24px;border:1px solid var(--mur-line);border-radius:24px 24px 0 0;
  background:linear-gradient(180deg,#fffdf7,#f5ecda);
}
.dddtech-murdoku__header h1{margin:.2rem 0 .55rem;font:800 clamp(28px,4vw,46px)/1.05 Georgia,"Times New Roman",serif;color:#2b261e}
.dddtech-murdoku__header p{max-width:760px;margin:0;color:var(--mur-muted);line-height:1.55}
.dddtech-murdoku__kicker{font-size:12px;font-weight:850;letter-spacing:.09em;text-transform:uppercase;color:#8a6c14}
.dddtech-murdoku__case{flex:0 0 auto;min-width:110px;padding:12px 14px;border:2px solid var(--mur-gold);border-radius:12px;background:#fff9df;text-align:center}
.dddtech-murdoku__case span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#76652d;font-weight:800}
.dddtech-murdoku__case strong{font-size:21px}
.dddtech-murdoku__print-mill{display:none}
.dddtech-murdoku__controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding:16px 18px;border:1px solid var(--mur-line);border-top:0;background:#fff}
.dddtech-murdoku__controls label{display:grid;gap:5px;min-width:170px}
.dddtech-murdoku__controls label>span{font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.05em;color:var(--mur-muted)}
.dddtech-murdoku__controls select{width:100%;padding:10px 12px;border:1px solid var(--mur-line);border-radius:11px;background:#fff;color:var(--mur-ink);font:inherit}
.dddtech-murdoku__actions{display:flex;gap:8px;flex-wrap:wrap;margin-left:auto}
.dddtech-murdoku__btn{border:1px solid var(--mur-line);border-radius:11px;padding:10px 13px;background:#f2f3ef;color:#273027;font-weight:800;cursor:pointer}
.dddtech-murdoku__btn:hover{transform:translateY(-1px)}
.dddtech-murdoku__btn--primary{border-color:var(--mur-green);background:var(--mur-green);color:#fff}
.dddtech-murdoku__status{min-height:38px;padding:9px 15px;border-left:1px solid var(--mur-line);border-right:1px solid var(--mur-line);background:#f8faf6;color:#40503f;font-size:13px;font-weight:650}
.dddtech-murdoku__layout{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:14px;padding:14px;background:var(--mur-bg);border-left:1px solid var(--mur-line);border-right:1px solid var(--mur-line)}
.dddtech-murdoku__board-card,.dddtech-murdoku__panel{background:#fff;border:1px solid var(--mur-line);border-radius:16px;box-shadow:0 2px 8px rgba(40,35,27,.04)}
.dddtech-murdoku__board-card{padding:12px;min-width:0}
.dddtech-murdoku__board-scroll{overflow:auto;padding-bottom:14px}
.dddtech-murdoku__board{--mur-axis-size:32px;--mur-cell-size:50px;position:relative;display:grid;grid-template-columns:var(--mur-axis-size) repeat(12,var(--mur-cell-size));grid-template-rows:var(--mur-axis-size) repeat(12,var(--mur-cell-size));width:max-content;min-width:632px;background:#fdf9ef;border-radius:8px;overflow:visible;border:3px solid #2c2923}
.dddtech-murdoku__corner{grid-column:1;grid-row:1;background:#eee7d7;border-right:1px solid #9c9588;border-bottom:1px solid #9c9588}
.dddtech-murdoku__axis{display:flex;align-items:center;justify-content:center;background:#f3ecdd;font:800 13px Georgia,serif;color:#373127;z-index:6}
.dddtech-murdoku__axis--col{border-bottom:1px solid #9c9588;border-right:1px solid #c8c0b1}
.dddtech-murdoku__axis--row{border-right:1px solid #9c9588;border-bottom:1px solid #c8c0b1}
.dddtech-murdoku__cell{position:relative;background:#fffdf7;border-right:1px solid #b6afa2;border-bottom:1px solid #b6afa2;min-width:0;min-height:0}
.dddtech-murdoku__cell[data-room="Kapzolder"],.dddtech-murdoku__cell[data-room="Steenzolder"],.dddtech-murdoku__cell[data-room="Molenwinkel"],.dddtech-murdoku__cell[data-room="Cafetaria"]{background:#fffaf0}
.dddtech-murdoku__cell.room-top{border-top:3px solid #292620}
.dddtech-murdoku__cell.room-left{border-left:3px solid #292620}
.dddtech-murdoku__cell.room-right{border-right:3px solid #292620}
.dddtech-murdoku__cell.room-bottom{border-bottom:3px solid #292620}
.dddtech-murdoku__room-label{position:absolute;z-index:3;pointer-events:none;transform:translate(-50%,-50%);padding:2px 6px;border:1px solid #b99a45;border-radius:6px;background:#f5e6bd;box-shadow:0 1px 3px rgba(0,0,0,.08);font:700 10px/1.1 Georgia,serif;white-space:nowrap;color:#2d281f}
.dddtech-murdoku__token{position:absolute;inset:3px;z-index:4;display:flex;align-items:center;justify-content:center;border-radius:9px;text-align:center;font-weight:850;font-size:11px;line-height:1.05;padding:3px;overflow:hidden}
.dddtech-murdoku__token--object{background:#f2e4bd;border:1px solid #c5a553;color:#3a3222;font-size:9px;font-weight:800;padding:0}.dddtech-murdoku__object-symbol{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:20px;line-height:1}
.dddtech-murdoku__token--person{background:#355e3b;color:#fff;border:2px solid #fff;box-shadow:0 2px 5px rgba(0,0,0,.22);font-size:10px}
.dddtech-murdoku__token--victim{background:#8b3030}
.dddtech-murdoku__token--killer{background:#222;color:#fff;outline:2px solid #d6b000}
.dddtech-murdoku__side{display:grid;align-content:start;gap:14px}
.dddtech-murdoku__panel{padding:15px}
.dddtech-murdoku__panel h2{margin:0 0 10px;font:800 21px/1.1 Georgia,"Times New Roman",serif;color:#2d2922}
.dddtech-murdoku__people,.dddtech-murdoku__objects{display:grid;grid-template-columns:1fr 1fr;gap:6px 9px}
.dddtech-murdoku__person-item,.dddtech-murdoku__object-item{font-size:13px;padding:4px 0;border-bottom:1px dotted #ded7cb}.dddtech-murdoku__object-item{display:flex;align-items:center;gap:8px}.dddtech-murdoku__object-list-symbol{display:inline-flex;align-items:center;justify-content:center;width:18px;min-width:18px;font-size:16px;line-height:1}
.dddtech-murdoku__person-item--victim{font-weight:850;color:#8b3030}
.dddtech-murdoku__panel-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.dddtech-murdoku__clues-panel{border-radius:0;padding:20px 22px;border-left:1px solid var(--mur-line);border-right:1px solid var(--mur-line);border-bottom:0}
.dddtech-murdoku__unique{display:inline-flex;align-items:center;border-radius:999px;padding:6px 9px;background:#eceee8;color:#475246;font-size:12px;font-weight:800}
.dddtech-murdoku__unique.is-ok{background:#e3efe1;color:#2f6036}
.dddtech-murdoku__unique.is-bad{background:#f5e3e1;color:#8a3730}
.dddtech-murdoku__clues{columns:2;column-gap:38px;margin:10px 0 0;padding-left:24px}
.dddtech-murdoku__clues li{break-inside:avoid;margin:0 0 10px;padding-left:4px;line-height:1.45}
.dddtech-murdoku__solution-panel{margin:0;border-radius:0 0 24px 24px;padding:20px 22px;background:#fff8dc}
.dddtech-murdoku__solution-table{width:100%;border-collapse:collapse;font-size:13px}
.dddtech-murdoku__solution-table th,.dddtech-murdoku__solution-table td{border-bottom:1px solid #dfd5b9;padding:7px 8px;text-align:left}
.dddtech-murdoku__solution-note{margin-top:12px;padding:10px 12px;border-radius:10px;background:#2c2923;color:#fff;font-weight:800}
@media(max-width:900px){.dddtech-murdoku__layout{grid-template-columns:1fr}.dddtech-murdoku__side{grid-template-columns:1fr 1fr}.dddtech-murdoku__clues{columns:1}}
@media(max-width:620px){
  .dddtech-murdoku{font-size:14px}
  .dddtech-murdoku__header{padding:14px 12px;gap:8px;align-items:flex-start}
  .dddtech-murdoku__header h1{margin:.1rem 0 .35rem;font-size:25px;line-height:1.05}
  .dddtech-murdoku__header p{font-size:12.5px;line-height:1.4}
  .dddtech-murdoku__kicker{font-size:10px;letter-spacing:.06em}
  .dddtech-murdoku__case{min-width:72px;padding:7px 8px;border-width:1px;border-radius:10px}
  .dddtech-murdoku__case span{font-size:9px}.dddtech-murdoku__case strong{font-size:17px}
  .dddtech-murdoku__controls{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 10px 11px;align-items:end}
  .dddtech-murdoku__controls label{min-width:0;width:100%;gap:3px}
  .dddtech-murdoku__controls label>span{font-size:9px}
  .dddtech-murdoku__controls select{min-height:42px;padding:8px 9px;font-size:13px;border-radius:9px}
  .dddtech-murdoku__actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:7px;width:100%;margin:0}
  .dddtech-murdoku__actions .dddtech-murdoku__btn{min-height:42px;padding:8px 9px;font-size:12.5px}
  .dddtech-murdoku__actions #murdoku-generate{grid-column:1/-1}
  .dddtech-murdoku__status{min-height:30px;padding:6px 10px;font-size:11px;line-height:1.3}
  .dddtech-murdoku__layout{padding:6px;gap:8px}
  .dddtech-murdoku__board-card{padding:5px;border-radius:10px}
  .dddtech-murdoku__board-scroll{overflow:hidden;display:flex;justify-content:center;padding:0 0 10px}
  .dddtech-murdoku__board{--mur-axis-size:22px;--mur-cell-size:26px;min-width:0;border-width:2px;border-radius:6px}
  .dddtech-murdoku__axis{font-size:9px}
  .dddtech-murdoku__cell.room-top{border-top-width:2px}.dddtech-murdoku__cell.room-left{border-left-width:2px}.dddtech-murdoku__cell.room-right{border-right-width:2px}.dddtech-murdoku__cell.room-bottom{border-bottom-width:2px}
  .dddtech-murdoku__room-label{padding:1px 3px;border-radius:4px;font-size:7px;line-height:1;background:#f5e6bd}
  .dddtech-murdoku__token{inset:1px;border-radius:5px;padding:1px;font-size:7px}
  .dddtech-murdoku__token--object{border-radius:5px}
  .dddtech-murdoku__object-symbol{font-size:14px}.dddtech-murdoku__object-symbol--svg svg{width:17px;height:17px}
  .dddtech-murdoku__token--person{border-width:1px;font-size:6px;box-shadow:none}
  .dddtech-murdoku__side{display:none}
  .dddtech-murdoku__panel{padding:10px;border-radius:10px}
  .dddtech-murdoku__panel h2{margin-bottom:7px;font-size:17px}
  .dddtech-murdoku__people{grid-template-columns:repeat(3,1fr);gap:2px 7px}
  .dddtech-murdoku__objects{grid-template-columns:repeat(2,1fr);gap:2px 8px}
  .dddtech-murdoku__person-item,.dddtech-murdoku__object-item{min-width:0;padding:3px 0;font-size:11px;line-height:1.2}
  .dddtech-murdoku__object-item{gap:5px}.dddtech-murdoku__object-list-symbol{width:15px;min-width:15px;font-size:14px}
  .dddtech-murdoku__object-list-symbol--svg{width:16px!important;min-width:16px!important;height:16px}.dddtech-murdoku__object-list-symbol--svg svg{width:16px;height:16px}
  .dddtech-murdoku__clues-panel,.dddtech-murdoku__solution-panel{padding:12px}
  .dddtech-murdoku__panel-head{gap:8px}.dddtech-murdoku__unique{padding:4px 7px;font-size:10px;white-space:nowrap}
  .dddtech-murdoku__clues{margin-top:7px;padding-left:20px;font-size:13px}
  .dddtech-murdoku__clues li{margin-bottom:8px;padding-left:1px;line-height:1.35}
  .dddtech-murdoku__solution-table{display:block;overflow-x:auto;font-size:11px;white-space:nowrap}
  .dddtech-murdoku__solution-table th,.dddtech-murdoku__solution-table td{padding:5px 6px}
  .dddtech-murdoku__solution-note{font-size:12px;padding:8px}
}
@media(max-width:390px){
  .dddtech-murdoku__board{--mur-axis-size:20px;--mur-cell-size:24px}
  .dddtech-murdoku__room-label{font-size:6.5px;padding:1px 2px}
  .dddtech-murdoku__object-symbol{font-size:13px}.dddtech-murdoku__object-symbol--svg svg{width:16px;height:16px}
}
@media(max-width:350px){
  .dddtech-murdoku__board{--mur-axis-size:18px;--mur-cell-size:21px}
  .dddtech-murdoku__axis{font-size:8px}
  .dddtech-murdoku__room-label{font-size:6px}
  .dddtech-murdoku__object-symbol{font-size:11px}.dddtech-murdoku__object-symbol--svg svg{width:14px;height:14px}
  .dddtech-murdoku__header h1{font-size:22px}
}
@media print{
  body *{visibility:hidden!important}
  .dddtech-murdoku,.dddtech-murdoku *{visibility:visible!important}
  .dddtech-murdoku{position:absolute;left:0;top:0;width:100%;max-width:none}
  .dddtech-murdoku__controls,.dddtech-murdoku__status,.dddtech-murdoku__solution-panel{display:none!important}
  .dddtech-murdoku__layout{grid-template-columns:1fr 190px;padding:6px;background:#fff}
  .dddtech-murdoku__board-scroll{overflow:visible}
  .dddtech-murdoku__board{transform:scale(.85);transform-origin:top left;margin-bottom:-85px}
  .dddtech-murdoku__clues{columns:2;font-size:11px}
  .dddtech-murdoku__header{padding:12px}
  .dddtech-murdoku__print-mill{display:inline-block;width:22px;height:22px;margin-right:8px;vertical-align:-4px;background-repeat:no-repeat;background-position:center;background-size:contain;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%232b261e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 24l-7 28h14l-7-28z' fill='%23e8dcc0'/%3E%3Cpath d='M32 24V9'/%3E%3Ccircle cx='32' cy='24' r='3.5' fill='%232b261e'/%3E%3Cpath d='M32 24l0-18 14 10-14 8z' fill='%23f5e6bd'/%3E%3Cpath d='M32 24l0-18-14 10 14 8z' fill='%23f5e6bd'/%3E%3Cpath d='M32 24l18 0-10-14-8 14z' fill='%23f5e6bd'/%3E%3Cpath d='M32 24l-18 0 10 14 8-14z' fill='%23f5e6bd'/%3E%3C/g%3E%3C/svg%3E")}
  .dddtech-murdoku__object-symbol{font-size:18px}
}
