:root{--navy:#18243c;--muted:#778197;--blue:#5865e8;--bg:#f5f7fb;--line:#e8ecf3}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--navy);font-family:'DM Sans','Noto Sans KR',sans-serif}.top{height:72px;background:#fff;border-bottom:1px solid #e9edf4;display:flex;align-items:center}.nav{max-width:1120px;width:100%;margin:auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between}.logo{font-weight:800;font-size:22px;letter-spacing:-1px;text-decoration:none;color:var(--navy)}.logo b{color:var(--blue)}.nav-actions{display:flex;align-items:center;gap:18px}.nav-actions a{color:#657088;text-decoration:none;font-size:13px;font-weight:700}.wrap{max-width:1120px;margin:auto;padding:0 24px}.hero{margin:38px auto 20px}.eyebrow{display:inline-flex;align-items:center;color:var(--blue);background:#eef0ff;border-radius:99px;padding:7px 12px;font-size:12px;font-weight:800}.hero h1{font-size:clamp(31px,5vw,44px);letter-spacing:-1.8px;line-height:1.15;margin:15px 0 9px}.hero p{color:var(--muted);font-size:15px;line-height:1.7;margin:0}.play-card{margin:0 auto 24px;padding:20px 22px 18px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 8px 30px #2334580b}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.stats div{padding:9px 12px;border:1px solid var(--line);border-radius:12px;background:#fafbfe}.stats span{display:block;color:var(--muted);font-size:11px;font-weight:700}.stats strong{display:block;margin-top:3px;font-size:17px}.action-row{display:flex;gap:9px;margin:13px 0 15px}.btn{border:0;border-radius:10px;padding:10px 16px;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.btn.primary{background:var(--blue);color:#fff;box-shadow:0 5px 12px #5865e828}.btn.secondary{background:#eef0ff;color:#414fce}.btn:focus-visible,.card:focus-visible{outline:3px solid #9ca5ff;outline-offset:2px}.top-area,.tableau{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:clamp(3px,.75vw,9px);align-items:start}.slot{min-width:0}.slot-label{display:block;height:19px;text-align:center;color:#778197;font-size:clamp(8px,.9vw,10px);font-weight:800;white-space:nowrap}.card{position:relative;display:flex;width:100%;aspect-ratio:.72;min-height:48px;max-height:94px;border:1px solid #cdd4e2;border-radius:8px;background:#fff;color:#1e2a42;font:inherit;font-weight:800;cursor:pointer;overflow:hidden;box-shadow:0 2px 4px #17244710}.free-cell,.foundation-slot{align-items:center;justify-content:center;background:#f8f9fc;border:1px dashed #c9d1e1}.free-cell.empty::after{content:'+';font-size:20px;color:#c5ccda}.foundation-slot.empty::after{content:attr(data-symbol);font-size:20px;color:#cad1df}.card.red{color:#d84f64}.card.black{color:#263550}.card .corner{position:absolute;left:3px;top:2px;display:flex;flex-direction:column;align-items:center;font-size:clamp(8px,1.3vw,12px);line-height:1.02}.card .pip{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:clamp(14px,2.3vw,22px)}.card .corner-bottom{position:absolute;right:3px;bottom:2px;display:flex;flex-direction:column;align-items:center;font-size:clamp(7px,1.15vw,10px);line-height:1.02;transform:rotate(180deg)}.tableau{margin-top:18px}.pile{min-width:0;min-height:290px;display:flex;flex-direction:column;align-items:stretch}.pile .card+.card{margin-top:-34px}.pile .card.selected,.free-cell.selected,.foundation-slot.selected{outline:3px solid #5865e8;outline-offset:1px;z-index:2}.empty-pile{width:100%;aspect-ratio:.72;min-height:48px;border:1px dashed #c9d1e1;border-radius:8px;background:#f8f9fc;color:#c5ccda;font-size:20px;cursor:pointer}.status{margin:14px 0 0;padding:10px 13px;border-radius:11px;background:#f5f6fa;color:#5e6a80;font-size:13px;line-height:1.6;text-align:center}.guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:30px 0 54px}.guide-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:19px}.guide-card h2{font-size:15px;margin:0 0 8px}.guide-card p,.guide-card li{font-size:13px;line-height:1.7;color:#67738a}.guide-card p{margin:0}.guide-card ul{margin:0;padding-left:19px}.guide-card li+li{margin-top:5px}.footer{border-top:1px solid #e6eaf1;background:#fff;text-align:center;color:#8992a3;padding:25px;font-size:12px}@media(max-width:650px){.top{height:62px}.nav{padding:0 18px}.nav-actions{gap:12px}.nav-actions a{font-size:12px}.wrap{padding:0 12px}.hero{margin:30px auto 18px}.hero h1{letter-spacing:-1.2px}.play-card{padding:14px 8px;border-radius:16px}.stats{gap:5px}.stats div{padding:8px 7px}.stats strong{font-size:14px}.action-row{gap:6px}.btn{padding:10px 10px;font-size:12px}.top-area,.tableau{gap:3px}.slot-label{font-size:7px;height:17px}.card{border-radius:6px;min-height:43px}.card .corner{left:2px;top:2px;font-size:8px}.card .corner-bottom{right:2px;bottom:2px;font-size:7px}.card .pip{font-size:14px}.pile{min-height:245px}.pile .card+.card{margin-top:-34px}.empty-pile{min-height:43px}.status{font-size:12px;padding:9px}.guide{grid-template-columns:1fr;gap:10px;margin:24px 0 42px}.guide-card{padding:16px}}
/* Calm felt surface and clearer card faces */
body{background:#eaf0e9}.play-card{max-width:1000px;background:#f4f7f1;border-color:#d8e3d8}.top-area,.tableau{max-width:900px;margin-left:auto;margin-right:auto}.top-area{padding:10px 8px;background:#e7efe5;border:1px solid #d4e0d3;border-radius:14px}.tableau{padding:10px 8px;background:#e7efe5;border:1px solid #d4e0d3;border-radius:14px}.card.face-up{background:linear-gradient(145deg,#fffefa 0%,#f8f5eb 100%);border-color:#c9c8bc;box-shadow:0 2px 5px #273b2a24}.card.face-down{background:repeating-linear-gradient(135deg,#dce8dc 0 5px,#6e9b78 5px 7px);outline-color:#5b8767;border-color:#fff}.pile .card.dragging{opacity:.58;transform:scale(.98);box-shadow:0 8px 20px #18243c35}.card[draggable="true"]{cursor:grab}.card[draggable="true"]:active{cursor:grabbing}.empty-pile,.foundation-slot.empty,.free-cell.empty{background:#f1f5ed;border-color:#bccbbd}

/* Klondike-style controls, felt, card pips, and hint marker */
.difficulty-row{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap}.difficulty-row .action-row{display:flex;align-items:center;gap:6px;margin:0 0 0 auto;flex-wrap:nowrap}.difficulty-row .btn{padding:9px 10px;white-space:nowrap;font-size:12px}.difficulty-row #giveup-btn{background:#f5e7e8;color:#92363e;border-color:#e8c8cb}.top-area,.tableau{background:#2f6b4c!important;border-color:#285d41!important}.top-area .slot-label{color:#f3f7f1;text-shadow:0 1px 2px #1b412b}.free-cell.empty,.foundation-slot.empty,.empty-pile{background:rgba(242,248,241,.1)!important;border-color:rgba(237,246,237,.7)!important;color:#e5f0e6!important}.pips{position:absolute;inset:0;pointer-events:none}.card .pip{position:absolute;left:auto;top:auto;transform:translate(-50%,-50%);font-size:clamp(8px,1.25vw,12px);line-height:1;z-index:1}.card .pip.pip-ace{font-size:clamp(18px,2.5vw,25px)}.court-face{position:absolute;inset:17% 18%;display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px double #c9c8bc;border-radius:9px;background:linear-gradient(145deg,#fff8dc,#dfe8d4)}.court-rank{font-size:clamp(17px,2.8vw,28px);font-weight:900}.court-suit{font-size:clamp(20px,3vw,32px)}.card.hint-target{border:3px solid #ffc928!important;outline:2px solid rgba(255,201,40,.95)!important;outline-offset:1px;box-shadow:0 0 0 4px rgba(255,201,40,.34),0 0 18px rgba(255,201,40,.9)!important;z-index:999!important;animation:hint-pulse 1s ease-in-out infinite}@keyframes hint-pulse{0%,100%{filter:brightness(1);box-shadow:0 0 0 3px rgba(255,201,40,.28),0 0 12px rgba(255,201,40,.68)!important}50%{filter:brightness(1.08);box-shadow:0 0 0 5px rgba(255,201,40,.55),0 0 22px rgba(255,201,40,1)!important}}@media(prefers-reduced-motion:reduce){.card.hint-target{animation:none}}@media(max-width:650px){.difficulty-row{gap:6px;justify-content:flex-start}.difficulty-row select{min-width:75px;padding:8px 18px 8px 7px}.difficulty-row .action-row{flex:1 0 100%;justify-content:space-between;gap:5px;margin:0}.difficulty-row .btn{flex:1 1 auto;padding:8px 6px;font-size:10px}.top-area,.tableau{gap:3px}.top-area{padding:8px 4px}.tableau{padding:8px 4px}}@media(max-width:380px){.difficulty-row .btn{padding:8px 4px;font-size:9px}}

.card .court-art{position:absolute;left:9%;top:7%;width:82%;height:86%;z-index:1;pointer-events:none;filter:drop-shadow(0 1px 0 rgba(25,28,35,.12))}.card .corner,.card .corner-bottom{z-index:3}@media(max-width:650px){.card .court-art{left:9%;top:8%;width:82%;height:84%}}
