

  
  .mt-flavor { font-size: 1.6rem; }
  .mt-block-label { font-size: 2rem; }
  

  .mt-wrap { text-align: center; }
  .mt-flavor { font-style: italic; margin: 1rem 0; line-height: 1.7; font-size: 1.5rem; }
  .mt-rule { width: 60%; margin: 20px auto; border: none; border-top: 1px solid #000; }
  .mt-hero { display: block; max-width: 100%; width: 520px; height: auto; margin: 1.5rem auto; }
  
  
  .mt-storefront {
    position: relative;
    max-width: 1100px;
    margin: 1.5rem auto;
    line-height: 0;            
  }
  .mt-storefront-bg {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
  }
  
  .mt-inv {
    position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    z-index: 6; display: flex; gap: 8px; line-height: 1;
    flex-wrap: wrap; justify-content: center; max-width: 96vw;
  }
  .mt-inv-tile {
    min-width: 38px; height: 38px; padding: 0 8px; border: 2px solid #000; background: #fff; color: #000;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 16px; border-radius: 4px; white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
  }
  .mt-hotspots {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .mt-hotspot {
    fill: rgba(0,0,0,0);                 
    stroke: rgba(0,0,0,0);
    stroke-width: 3;
    cursor: pointer;
    transition: fill 0.18s, stroke 0.18s;
  }
  .mt-hotspot:hover {
    fill: rgba(40,40,40,0.14);           
    stroke: rgba(20,20,20,0.55);         
  }

  
  .mt-pagebg {
    position: fixed; inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;                
  }
  .mt-pagebg::before {                    
    content: "";
    position: absolute; inset: 0;
    background: url("plagiarism_bg.png") center top / cover no-repeat;
    opacity: 0.18;
  }
  
  .mt-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: flex-start; justify-content: center;
    z-index: 1000;
    overflow-y: auto;
    padding: 40px 16px;
  }
  .mt-overlay.open { display: flex; }
  .mt-modal {
    background: #fff;
    border: 1px solid #000;
    border-radius: 6px;
    max-width: 860px;
    width: 100%;
    padding: 28px clamp(16px, 4vw, 40px);
    position: relative;
    margin: auto;
    isolation: isolate;        
  }
  
  .mt-deco {
    position: absolute; inset: 0;
    pointer-events: none;      
    overflow: hidden;
    border-radius: 6px;
    z-index: -1;               
  }
  .mt-deco-item {
    position: absolute;
    transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scaleX(var(--flip, 1));
    filter: grayscale(1) contrast(1.03);
    opacity: 0.30;
    user-select: none;
    -webkit-user-drag: none;
  }
  .mt-modal-close {
    position: absolute; top: 10px; right: 14px;
    background: none; border: none;
    font-size: 1.8rem; cursor: pointer; line-height: 1;
  }
  .mt-modal-title { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; text-align: center; }
  .mt-placeholder { color: #999; padding: 3rem 0; text-align: center; font-style: italic; }

  
  
  .mcw-flavor    { font-size: 1.5rem; }
  .mcw-note      { font-size: 1.5rem; }
  .mcw-extract   { font-size: 1.8rem; }
  .mcw-clues h3  { font-size: 1.8rem; }
  .mcw-clues .clue { font-size: 1.5rem; }
  .mcw-crossword input  { font-size: 16px; }
  .mcw-crossword .number { font-size: 8px; }

  .mcw-wrap { text-align: center; }
  .mcw-flavor { font-style: italic; margin-top: 1.5rem; }
  .mcw-note { margin-top: 0.5rem; }
  .mcw-rule { width: 60%; margin: 16px auto; border: none; border-top: 1px solid #000; }

  .mcw-crossword table { border-collapse: collapse; margin: 0 auto; border: 1px solid #000; }
  .mcw-crossword td {
    width: 30px !important; height: 30px !important; min-width: 30px;
    padding: 0 !important; border: 1px solid #000 !important;
    position: relative; box-sizing: border-box;
    line-height: 1 !important; vertical-align: middle;
  }
  .mcw-crossword .black { background-color: #000; }
  .mcw-crossword input {
    width: 100%; height: 100%; text-align: center;
    border: none; background: transparent;
    padding: 0 !important; margin: 0 !important;
    font-family: inherit; box-sizing: border-box; line-height: 1;
  }
  .mcw-crossword .number { position: absolute; top: 1px; left: 2px; color: #000; }

  .mcw-guide {
    display: grid; grid-template-columns: repeat(4, auto);
    justify-content: center; gap: 0.4rem 2.5rem;
    line-height: 1.9; margin: 1.2rem auto; width: max-content;
  }
  .mcw-guide p { margin: 0; text-align: center; }

  .mcw-extract { line-height: 1.7; margin: 1.2rem 0; }
  .mcw-extract-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto 20px auto;   
    gap: 8px 4px;
    max-width: 360px;
    margin: 0 auto;
    justify-items: center;
    align-items: center;
  }
  .mcw-extract-grid span { display: block; text-align: left; }

  .mcw-clues {
    column-count: 2; column-gap: 50px; column-rule: 1px solid #000;
    max-width: 720px; margin: 1.3rem auto;
  }
  .mcw-clues .clue { break-inside: avoid; margin: 3px 0; }
  .mcw-clues h3 { text-align: center; }

  
  .msb-flavor { font-size: 1.5rem; font-style: italic; text-align: center; line-height: 1.7; margin: 0.5rem 0 1.2rem; }

  
  .msb-garden {
    position: relative;
    width: 373px; height: 431px;
    margin: 1rem auto;
    max-width: 100%;
  }
  
  .msb-grid {
    position: absolute;
    width: 113.6px; height: 131.2px;
    cursor: pointer;
    transition: transform 0.12s, filter 0.12s, left 0.55s ease, top 0.55s ease;
  }
  .msb-grid:hover { transform: scale(1.05); filter: drop-shadow(0 3px 8px rgba(0,0,0,0.18)); }

  
  .msb-hex {
    position: absolute;
    width: 48px; height: 41.6px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    background: #e6e6e6;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem; color: #222;
    user-select: none;
  }
  .msb-hex.center { background: #f7d000; }

  
  .msb-hex.c  { left: 51px; top: 47px; }
  .msb-hex.p0 { left: 51px; top: 0px; }
  .msb-hex.p1 { left: 91px; top: 23px; }
  .msb-hex.p2 { left: 91px; top: 70px; }
  .msb-hex.p3 { left: 51px; top: 93px; }
  .msb-hex.p4 { left: 11px; top: 70px; }
  .msb-hex.p5 { left: 11px; top: 23px; }

  
  

  
  .msb-main {
    display: flex; align-items: center; justify-content: center;
    gap: 36px; flex-wrap: wrap; margin: 1rem auto;
  }
  .msb-main-found { text-align: left; min-width: 150px; }

  .msb-shuffle-btn {
    font-family: inherit; font-size: 1.5rem; padding: 7px 22px;
    border: 1px solid #121212; background: #fff; border-radius: 999px; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .msb-shuffle-btn:hover { background: #f2f2f2; }

  
  .msb-final-title {
    font-size: 3rem; font-weight: 700; text-align: center; margin: 0.4rem 0 1rem;
  }
  .msb-final-area { text-align: center; margin-top: 1rem; }
  .msb-final-submit-row {
    display: flex; gap: 8px; justify-content: center; align-items: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .msb-final-submit-row.fade-away { opacity: 0; transform: scale(0.92); pointer-events: none; }
  .msb-final-solved { font-size: 1.5rem; font-weight: 700; text-align: center; }
  .msb-final-guide {
    margin-top: 1rem; font-size: 1.05rem; line-height: 1.7; color: #1a7f37;
    text-align: center; font-weight: 600;
  }
  .msb-final-msg { min-height: 1.2em; margin-top: 0.5rem; font-size: 1rem; text-align: center; }
  .shake-input { animation: msbShake 0.4s; }

  
  .msb-flyhex {
    position: fixed;  
    width: 33px; height: 28.6px;  
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    background: #f7d000;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.95rem; color: #222;
    z-index: 1200; pointer-events: none;
    transition: left 0.9s cubic-bezier(.5,0,.2,1), top 0.9s cubic-bezier(.5,0,.2,1);
  }
  
  .msb-finalflower {
    position: absolute;
    left: 130px; top: 150px;   
    width: 113.6px; height: 131.2px;
  }
  .msb-finalflower .msb-hex {
    
  }
  .msb-fade-out { transition: opacity 0.5s ease; opacity: 0 !important; }

  
  .msb-grid.solved-pop { animation: msbPop 0.5s ease; }
  @keyframes msbPop {
    0% { transform: scale(0.5); opacity: 0.2; }
    60% { transform: scale(1.12); opacity: 1; }
    100% { transform: scale(1); }
  }

  
  .msb-play {
    display: flex; align-items: center; justify-content: center;
    gap: 28px; flex-wrap: wrap; margin: 1.8rem 0;
  }
  
  .msb-play-grid { position: relative; width: 265px; height: 272px; flex: 0 0 auto; }
  .msb-play-grid .msb-phex {
    position: absolute; width: 97px; height: 84px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    background: #e6e6e6;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.8rem; color: #222;
  }
  .msb-play-grid .msb-phex.center { background: #f7d000; }
  .msb-play-grid .msb-phex.c  { left: 84px; top: 94px; }
  .msb-play-grid .msb-phex.p0 { left: 84px; top: 0px; }
  .msb-play-grid .msb-phex.p1 { left: 166px; top: 47px; }
  .msb-play-grid .msb-phex.p2 { left: 166px; top: 141px; }
  .msb-play-grid .msb-phex.p3 { left: 84px; top: 188px; }
  .msb-play-grid .msb-phex.p4 { left: 2px; top: 141px; }
  .msb-play-grid .msb-phex.p5 { left: 2px; top: 47px; }
  
  .msb-center-input {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; border: none; background: transparent;
    text-align: center; font-size: 3rem; font-weight: 700; color: #222;
    font-family: inherit; padding: 0;
  }
  .msb-center-input:focus { outline: 2px solid #c79a00; outline-offset: -2px; border-radius: 4px; }
  .msb-found { text-align: left; min-width: 130px; }
  .msb-found-head { font-weight: 700; margin-bottom: 0.6rem; font-size: 1.75rem}
  .msb-found-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0;
    line-height: 1.9; font-size: 1.8rem;
    text-align: left !important;
  }
  .msb-found-list li {
    display: block !important;
    text-align: left !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    text-indent: 0 !important;
  }
  .msb-submit-row {
    display: flex; gap: 8px; justify-content: center; align-items: center;
    margin-top: 0.8rem;
  }
  .msb-answer-input {
    font-family: inherit; font-size: 1rem; padding: 0 12px; height: 38px;
    border: 1px solid #999; border-radius: 4px; width: 240px; max-width: 60%;
    box-sizing: border-box; line-height: normal;
  }
  .msb-submit-btn {
    font-family: inherit; font-size: 1rem; height: 38px; padding: 0 18px;
    border: 1px solid #121212; background: #fff; border-radius: 999px; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .msb-submit-btn:hover { background: #f2f2f2; }
  .msb-submit-btn:disabled { opacity: 0.4; cursor: default; }
  .msb-msg { min-height: 1.3em; margin-top: 0.6rem; font-size: 1rem; text-align: center; }
  .msb-play-grid.shake { animation: msbShake 0.4s; }
  @keyframes msbShake {
    0%,100% { transform: translateX(0); } 20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); }
  }

  .mcn-wrap { text-align: center; }
  .mcn-flavor { font-size: 1.5rem; font-style: italic; line-height: 1.7; margin: 0.5rem 0 1.5rem; }

  
  .mcn-grid {
    display: grid;
    grid-template-columns: repeat(3, 150px);
    grid-template-rows: repeat(3, 150px);
    gap: 10px;
    justify-content: center;
    margin: 1.5rem auto;
    width: max-content;
  }
  
  .mcn-slot {
    border: 2px dashed #bbb;
    border-radius: 8px;
    background: #fafafa;
    box-sizing: border-box;
    position: relative;
  }
  .mcn-slot.mcn-over { border-color: #c79a00; background: #fffbe6; }

  
  .mcn-chip {
    position: absolute; inset: -2px;
    border-radius: 8px;
    background: #fff; border: 1px solid #333;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 6px;
    font-size: 1.5rem; line-height: 1.3;
    cursor: grab; user-select: none;
    box-sizing: border-box;
    transition: transform 0.12s, box-shadow 0.12s, font-size 0.12s;
    overflow: hidden;
  }
  .mcn-chip .mcn-len { font-size: 1.5rem; color: #888; margin-top: 3px; }
  
  .mcn-chip:hover {
    transform: scale(1.45); z-index: 50;
    box-shadow: 0 6px 20px rgba(0,0,0,0.22);
    font-size: 1.5rem;
  }
  .mcn-chip.mcn-dragging { opacity: 0.4; }
  .mcn-chip.mcn-fixed { background: #f0f0f0; border-color: #999; cursor: default; }
  .mcn-chip.mcn-fixed::after {
    content: '🔒'; position: absolute; top: 4px; right: 6px; font-size: 0.7rem; opacity: 0.5;
  }
  
  .mcn-grid.mcn-dragging-active .mcn-chip:hover { transform: none; box-shadow: none; font-size: 1.5rem; }

  
  .mcn-tray {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
    margin: 1.5rem auto; max-width: 680px; font-size: 1.5rem;
    padding: 14px; border: 1px solid #ddd; border-radius: 10px; background: #f7f7f7;
    min-height: 120px;
  }
  .mcn-tray-slot {
    width: 150px; height: 110px; position: relative;
    border-radius: 8px;
  }
  .mcn-tray .mcn-chip { font-size: 1.5rem; }
  .mcn-tray .mcn-chip:hover { transform: scale(1.3); }

  .mcn-submit-row { margin: 1.5rem 0 0.5rem; }
  .mcn-submit-btn {
    font-family: inherit; font-size: 1.1rem; padding: 10px 32px;
    border: 1px solid #121212; background: #fff; border-radius: 999px; cursor: pointer; font-size: 1.5rem;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .mcn-submit-btn:hover { background: #f2f2f2; }
  .mcn-submit-btn:disabled { opacity: 0.4; cursor: default; }
  .mcn-msg { min-height: 1.4em; margin-top: 0.8rem; font-size: 1.05rem; text-align: center; }

  
  .mcn-reveal { display: flex; gap: 24px; justify-content: center; align-items: flex-start;
                margin: 1.5rem auto 0; overflow-x: auto; }
  #mt-ov-mcn .mt-modal.mcn-wide { max-width: 1080px; }
  .mcn-2x2 { display: grid; grid-template-columns: repeat(2, 230px); grid-template-rows: repeat(2, 230px);
             gap: 10px; flex: 0 0 auto; }
  .mcn-2x2 .mcn-gcell {
    border-radius: 8px; box-sizing: border-box; color: #121212; padding: 12px;
    display: flex; align-items: center; justify-content: center; text-align: center;
    font-weight: 800; font-size: 1.25rem; line-height: 1.35;
  }
  .mcn-2x2 .y { background: #f9df6d; }
  .mcn-2x2 .g { background: #a0c35a; }
  .mcn-2x2 .b { background: #b0c4ef; }
  .mcn-2x2 .p { background: #ba81c5; }
  .mcn-2x2.slidein { animation: mcn2in 0.5s ease forwards; }
  @keyframes mcn2in { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
  
  .mcn-legend { display: flex; align-items: center; justify-content: center; gap: 12px;
                margin: 1.1rem auto 0.4rem; font-size: 1.6rem; font-weight: 700; }
  .mcn-legend .sq { width: 34px; height: 34px; border-radius: 6px; display: inline-block; }
  .mcn-legend .sq.y { background: #f9df6d; }
  .mcn-legend .sq.g { background: #a0c35a; }
  .mcn-legend .sq.b { background: #b0c4ef; }
  .mcn-legend .sq.p { background: #ba81c5; }

  
  .mpg-wrap { text-align: center; }
  .mpg-flavor { font-size: 1.5rem; font-style: italic; line-height: 1.7; margin: 0.5rem 0 1.5rem; }
  .mpg-list {
    display: flex; flex-direction: column; align-items: center;
    gap: 24px; margin: 1.5rem auto; max-width: 720px;
  }
  .mpg-list img {
    width: 100%; max-width: 680px; height: auto;
    border: 1px solid #ddd; border-radius: 8px;
  }

  
  .mcw-crossword { position: relative; }
  
  .mcw-fold-link {
    text-decoration: underline; text-underline-offset: 3px;
    cursor: pointer; font-weight: 600; font-style: normal;
  }
  .mcw-fold-link:hover { background: rgba(0,0,0,0.07); }

  .mcw-fold-pop {
    position: fixed; inset: 0;
    width: 100vw; height: 100vh;
    border: none; border-radius: 0;
    background: rgba(0,0,0,0.85);
    padding: 2vh 2vw;
    box-shadow: none;
    display: none; z-index: 2000;
    align-items: center; justify-content: center;
    flex-direction: column;
    box-sizing: border-box;
  }
  .mcw-fold-pop.show { display: flex; }
  .mcw-fold-pop img {
    max-width: 80vw; max-height: 80vh;
    width: auto; height: auto; display: block; border-radius: 6px;
  }
  .mcw-fold-pop .mcw-fold-cap {
    font-size: 1rem; color: #fff; text-align: center; margin-top: 10px;
  }

  
  
  .mt-earring-live {
    pointer-events: auto !important;
    cursor: pointer;
    opacity: 0.55 !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: none;
  }
  .mt-earring-live:hover { opacity: 0.8 !important; }
  .mt-earring .mt-earring-img { width: 100%; display: block; }
  
  .mt-crack {
    position: absolute; inset: 0; pointer-events: none;
    opacity: var(--crack, 0);
    background:
      linear-gradient(72deg,  transparent 49%,   rgba(25,25,25,.85) 49.5%, transparent 50.4%),
      linear-gradient(-34deg, transparent 48.6%, rgba(25,25,25,.8)  49.1%, transparent 50%),
      linear-gradient(20deg,  transparent 49%,   rgba(25,25,25,.7)  49.4%, transparent 50%),
      linear-gradient(-70deg, transparent 48.8%, rgba(25,25,25,.6)  49.2%, transparent 50%),
      radial-gradient(circle at 50% 46%, rgba(255,255,255,.55) 0%, transparent 24%);
  }
  .mt-earring.cracking { opacity: 0.95 !important; }   
  .mt-earring.cracking .mt-earring-img { animation: mt-earring-shake 0.16s infinite; }
  @keyframes mt-earring-shake {
    0%{transform:translate(0,0)} 25%{transform:translate(-1.5px,1px)}
    50%{transform:translate(1.5px,-1px)} 75%{transform:translate(-1px,-1.5px)}
    100%{transform:translate(1px,1.5px)}
  }
  .mt-earring.shattered { opacity: 0 !important; transition: opacity 0.2s; }
  
  .mt-shard {
    position: fixed; z-index: 3000; pointer-events: none;
    background: #d9d9d9; border: 1px solid #7c7c7c;
    transform: translate(-50%, -50%) rotate(0deg);
    animation: mt-shard-fly 0.85s ease-out forwards;
  }
  @keyframes mt-shard-fly {
    from { opacity: .95; transform: translate(-50%,-50%) rotate(0deg); }
    to   { opacity: 0;   transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--dr)); }
  }
  
  .mt-break-seq {
    position: fixed; inset: 0; z-index: 2500;
    background: #000; color: #fff;
    display: flex; align-items: center; justify-content: center;
    padding: 8vw; text-align: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.7s ease, visibility 0s linear 0.7s;
  }
  .mt-break-seq.show { opacity: 1; visibility: visible; transition: opacity 0.7s ease; }
  .mt-break-msg {
    font-size: clamp(1.1rem, 3.2vw, 1.9rem); line-height: 1.95; letter-spacing: .02em;
    opacity: 0; transition: opacity 1s ease 0.5s;
  }
  .mt-break-seq.show .mt-break-msg { opacity: 1; }
  
  @keyframes mt-quake {
    0%,100% { transform: translate(0,0) rotate(0); }
    8%   { transform: translate(-12px, 9px)  rotate(-0.8deg); }
    17%  { transform: translate(14px,-10px)  rotate(0.8deg); }
    26%  { transform: translate(-16px, 6px)  rotate(-0.7deg); }
    35%  { transform: translate(15px, 12px)  rotate(0.7deg); }
    44%  { transform: translate(-11px,-13px) rotate(-0.6deg); }
    53%  { transform: translate(12px, 8px)   rotate(0.5deg); }
    62%  { transform: translate(-9px, -6px)  rotate(-0.4deg); }
    71%  { transform: translate(7px, 9px)    rotate(0.3deg); }
    82%  { transform: translate(-5px, -4px)  rotate(-0.2deg); }
    91%  { transform: translate(3px, 2px)    rotate(0.1deg); }
  }
  body.mt-quake { animation: mt-quake 0.62s cubic-bezier(.36,.07,.19,.97) both; }

  
  .mt-crackscreen {
    position: fixed; inset: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 2400; pointer-events: none;
    opacity: 0; transition: opacity 0.12s ease;
  }
  .mt-crackscreen.show { opacity: 1; }
  
  .mt-flash {
    position: fixed; inset: 0; z-index: 2450; pointer-events: none;
    background: #fff; opacity: 0; transition: opacity 0.08s ease;
  }
  .mt-flash.show { opacity: 0.85; }

  
  .mt-ability-note {
    max-width: 900px; margin: 1.3rem auto 0;
    font-size: 1.3rem; line-height: 1.85; font-style: italic;
    color: #111; text-align: center;
    border-top: 1px solid rgba(0,0,0,.22); padding-top: 1rem;
  }
  .mt-note-link {
    color: inherit; text-decoration: underline; text-underline-offset: 3px;
    cursor: pointer; font-weight: 600;
  }
  .mt-note-link:hover { background: rgba(0,0,0,0.07); }
  .mt-shelf { position: fixed; right: 20px; top: 50%; transform: translateY(-50%);
              display: none; flex-direction: column; gap: 12px; z-index: 1100; }
  .mt-shelf-head { color: #fff; font-size: 12px; text-align: center; opacity: .85; text-shadow: 0 1px 2px #000; margin-bottom: 2px; }
  .mt-shelf-tile { min-width: 56px; padding: 10px 14px; border: 2px solid #000; background: #fff; border-radius: 8px;
                   font-weight: 800; font-size: 18px; text-align: center; cursor: pointer;
                   box-shadow: 0 3px 8px rgba(0,0,0,.35); user-select: none; white-space: nowrap; transition: box-shadow .12s; }
  .mt-shelf-tile:hover { box-shadow: 0 3px 12px rgba(0,0,0,.5); }
  .mt-shelf-tile.sel { animation: mt-float 2s ease-in-out infinite; }
  @keyframes mt-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
  
  .mt-shelf-tile.fixed { background: #f7d000; border-color: #c79a00; cursor: default;
                         box-shadow: inset 0 0 0 2px rgba(0,0,0,.08), 0 2px 5px rgba(0,0,0,.28); }
  .mt-inv-tile.fixed { background: #f7d000; border-color: #c79a00; }
  
  .mt-complete { background: rgba(255,255,255,0.94); border: 2px solid #c79a00; border-radius: 10px;
                 padding: 8px 16px; font-size: 15px; font-weight: 600; color: #222; text-align: center;
                 max-width: min(92vw, 640px); line-height: 1.55; box-shadow: 0 3px 10px rgba(0,0,0,.3);
                 flex-basis: 100%; margin-top: 6px; }
  .mt-complete .mt-answer { display: inline-block; background: #f7d000; border: 1px solid #c79a00;
                 border-radius: 6px; padding: 2px 10px; margin: 0 3px; font-weight: 800; font-size: 17px; }
  
  .mcw-crossword input.mt-swapped-in { background: #f7d000; font-weight: 800; color: #000; }
  .mcn-chip.mt-swapped-chip { background: #f7d000; border-color: #c79a00; font-weight: 800; }
  
  .mpg-pig5 { position: relative; display: inline-block; width: 100%; max-width: 680px; line-height: 0; }
  .mpg-gan { position: absolute; left: 29.3%; top: 51%; transform: translate(-50%, -50%);
             width: 5%; height: 9%; border-radius: 3px; z-index: 2; }
  .mpg-gan.mt-swapped-gan { width: auto; height: auto; padding: 3px 9px; background: #f7d000;
             border: 1px solid #000; font-weight: 800; color: #000; white-space: nowrap; line-height: 1.2;
             font-size: clamp(11px, 1.6vw, 16px); display: flex; align-items: center; justify-content: center; }
  @keyframes mt-swap-pop { 0% { transform: scale(.5); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
  .mcw-crossword td.mt-swapped-cell { animation: mt-swap-pop .4s ease; }
  
  .msb-found-link { cursor: pointer; color: #1a5cff; text-decoration: underline; text-underline-offset: 2px; }
  .msb-found-link:hover { color: #c79a00; }
  
  .mt-swapped-gosa { background: #f7d000; border-radius: 3px; padding: 0 3px; }
