/*
Theme Name: Johnny Playground
Author: Johnny
Description: A playful illustrated homepage for games, experiments, and personal pages. Edit under Appearance > Customize > Playground homepage.
Version: 1.0.0
Text Domain: johnny-playground
*/
:root{--ink:#242724;--paper:#fffefa;--muted:#72756e;--border:#d9d9ce}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Trebuchet MS",Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit}button{color:inherit}button,a,input{outline-offset:5px}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #2856db}button{cursor:pointer}button:disabled{cursor:default}.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link:focus{position:fixed;z-index:100;top:10px;left:10px;background:white;padding:15px}.site-header{text-align:center;padding:58px 20px 38px}.logo{display:inline-flex;gap:12px;align-items:center;text-decoration:none;font-family:"Comic Sans MS","Segoe Print",cursive;font-size:clamp(30px,4.5vw,53px);font-weight:900;letter-spacing:-2.9px;transform:rotate(-1.8deg);line-height:1.1}.logo svg{width:47px;height:47px;transform:rotate(13deg);flex-shrink:0}.site-header p{font-size:15px;margin:17px 0 0;color:#77786f;letter-spacing:.15px}.home-wrap{max-width:1240px;margin:auto;padding:0 30px}.gallery-caption{display:flex;align-items:center;justify-content:space-between;margin:0 0 17px;gap:12px}.gallery-caption>span{display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:1.8px;color:#787b72;font-weight:bold}.gallery-caption i{width:6px;height:6px;background:#87a17c;border-radius:50%}.surprise-button{background:none;border:0;font-size:12px;padding:7px 0;white-space:nowrap}.surprise-button span{margin-left:9px;font-size:18px}.surprise-button:hover{text-decoration:underline}.game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.game-tile{position:relative;display:flex;flex-direction:column;width:100%;text-align:left;text-decoration:none;border:1.5px solid var(--tile-border);background:var(--tile-bg);border-radius:14px;overflow:hidden;padding:19px 22px 20px;min-height:263px;color:var(--ink);isolation:isolate;transition:transform .18s ease,box-shadow .18s ease}.game-tile.is-playable:hover{transform:translateY(-5px) rotate(-.4deg);box-shadow:0 8px 0 -3px var(--tile-border)}.tile-bubbles{--tile-bg:#e5f1f3;--tile-border:#acc8ce}.tile-colors{--tile-bg:#fce6e8;--tile-border:#e5b5bd}.tile-doodle{--tile-bg:#fff8df;--tile-border:#ded1a5}.tile-note{--tile-bg:#e9eee3;--tile-border:#bcc9ae}.tile-soon{--tile-bg:#f5ece2;--tile-border:#d9c7b5}.tile-space{--tile-bg:#efedf8;--tile-border:#c7bedc}.tile-eyebrow{display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:1.4px;color:#627178;z-index:1;font-weight:700}.tile-eyebrow span:last-child{font-size:11px;letter-spacing:0;opacity:.65}.tile-art{height:148px;position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-height:135px}.tile-art>img{width:100%;height:135px;object-fit:cover;border-radius:7px}.tile-bottom{display:flex;gap:9px;align-items:center;justify-content:space-between;z-index:1}.tile-bottom h2{font-size:25px;line-height:1.12;letter-spacing:-.9px;margin:0 0 7px;font-weight:800}.tile-bottom p{font-size:11px;line-height:1.45;margin:0;color:#62675e;max-width:260px}.launch-arrow{border:1px solid #9ca29885;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;font-size:20px;flex-shrink:0;transition:background .18s}.is-playable:hover .launch-arrow{background:#ffffff90}.soon-label{font-size:8px;letter-spacing:1px;border:1px dashed #969181;padding:5px 7px;border-radius:5px;color:#777266;transform:rotate(-8deg);flex-shrink:0}.wrap-sheet{display:grid;grid-template-columns:repeat(5,23px);gap:8px;transform:rotate(-13deg);background:#ffffff44;padding:15px 17px;border:1px solid #a9c4c655;box-shadow:4px 7px 0 #8dadb51c;border-radius:6px}.wrap-sheet i{height:23px;border:1px solid #91b6c0;border-radius:50%;background:radial-gradient(circle at 35% 25%,white 0%,#f6ffff 15%,#bdd9df 65%,#d8e9ed 80%);box-shadow:inset 1px 1px 3px white,1px 2px 2px #91b6c040}.pop-letter{position:absolute;font-family:"Comic Sans MS",cursive;font-weight:700;font-size:23px;right:10px;top:38px;transform:rotate(12deg);color:#45717e}.swatch{height:86px;width:86px;border-radius:50%;position:absolute;top:30px;mix-blend-mode:multiply;border:1px solid #ffffff66}.swatch-one{background:#ffb65f;transform:translate(-49px,4px)}.swatch-two{background:#e984b0;transform:translate(0,-9px)}.swatch-three{background:#8da9eb;transform:translate(49px,10px)}.color-spark{font-size:26px;color:#a65273;position:absolute;right:8px;top:5px}.art-doodle svg{width:100%;height:140px;overflow:visible}.envelope{width:126px;height:83px;background:#fcf3df;border:1.5px solid #849b76;border-radius:5px;position:relative;transform:rotate(-9deg);box-shadow:5px 6px 0 #899d7d18;display:grid;place-items:center}.envelope:before{content:"";position:absolute;width:88px;height:88px;transform:rotate(45deg);border-bottom:1.5px solid #849b76;border-right:1.5px solid #849b76;top:-47px;border-radius:3px}.envelope span{font-family:Georgia,serif;font-size:34px;color:#dd765e;z-index:1;padding-top:8px}.note-spark{position:absolute;color:#8ba475;font-size:25px}.note-spark.one{left:42px;top:17px}.note-spark.two{right:42px;bottom:21px;font-size:34px}.construction{color:#d88447;font-size:104px;line-height:1;transform:rotate(12deg);margin-right:56px}.pencil{position:absolute;right:62px;top:2px;font-size:84px;font-family:Georgia,serif;color:#7b6651;transform:rotate(-16deg)}.coming-sticker{font-size:9px;letter-spacing:1.5px;padding:7px 9px;background:#f8db7c;border:1px solid #b8a16a;position:absolute;right:7px;top:74px;transform:rotate(-7deg)}.planet{width:72px;height:72px;display:block;border-radius:50%;background:#bca7dd;border:1px solid #8f77ac;transform:rotate(-25deg);position:relative}.planet:before{content:"";position:absolute;width:138px;height:25px;border:6px solid #7c719d;border-top:3px solid #7c719d;top:23px;left:-34px;border-radius:50%;transform:rotate(-12deg)}.little-star{position:absolute;font-style:normal;color:#8c7d9c}.star-one{left:50px;top:17px;font-size:32px}.star-two{right:45px;top:23px;font-size:23px}.star-three{right:72px;bottom:15px;font-size:15px}.welcome-note{display:flex;gap:24px;align-items:center;max-width:720px;margin:61px auto 0;padding-bottom:48px}.scribble-star{color:#c27f45;font-size:64px;transform:rotate(15deg);line-height:1}.welcome-note h2{font-size:21px;letter-spacing:-.5px;margin:0 0 9px}.welcome-note p{font-size:14px;line-height:1.75;color:#6d7068;margin:0;max-width:460px}.note-arrow{font-family:Georgia,serif;font-size:67px;font-weight:normal;transform:rotate(-15deg);color:#aca994;margin-left:auto}.site-footer{max-width:1180px;margin:auto;border-top:1px solid #e8e7df;padding:26px 20px 35px;text-align:center}.footer-flower{font-size:26px;color:#999a85}.site-footer p{font-size:12px;color:#73766b;margin:8px 0}.site-footer .footer-small{font-size:10px;color:#9b9e93;margin-top:13px}.footer-small span{margin:0 6px}.site-footer ul{list-style:none;display:flex;gap:18px;justify-content:center;padding:0;font-size:12px}.content-wrap{max-width:900px;margin:15px auto 70px;padding:0 25px;min-height:40vh}.back-link{font-size:13px;display:inline-block;margin-bottom:30px;text-decoration:none;color:#6e7266}.back-link:hover{text-decoration:underline}.reading-article h1{font-size:clamp(28px,5vw,45px);letter-spacing:-1px}.entry-content{font-size:17px;line-height:1.8;overflow-wrap:anywhere}.entry-content img{max-width:100%;height:auto}.reading-article{margin-bottom:50px}.toy-dialog{border:1.5px solid #cccdbf;border-radius:17px;width:min(710px,calc(100% - 28px));max-height:90dvh;padding:28px;background:var(--paper);color:var(--ink);box-shadow:0 25px 90px #18222d30;overflow:auto}.toy-dialog::backdrop{background:#1a242a70;backdrop-filter:blur(4px)}body:has(dialog[open]){overflow:hidden}.dialog-top{display:flex;justify-content:space-between;gap:20px;align-items:center}.dialog-top h2{margin:0;font-size:29px;letter-spacing:-1px}.close-dialog{border:1px solid #ddd;background:transparent;border-radius:50%;width:35px;height:35px;flex-shrink:0}.close-dialog:hover{background:#efeee4}.toy-description{color:#71756b;font-size:14px;line-height:1.6}.toy-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:22px 0 16px;font-size:12px}.toy-toolbar button,.color-tools button{border:1px solid #bfc6ba;background:white;border-radius:7px;padding:8px 12px}.bubble-board{display:grid;grid-template-columns:repeat(8,1fr);gap:13px;padding:24px;background:#e7f2f5;border-radius:10px}.bubble-board button{aspect-ratio:1;border-radius:50%;border:1.5px solid #9cbcc8;background:radial-gradient(circle at 30% 25%,white 0%,#edfaff 20%,#bdd7df 65%,#d5e8ef 90%);box-shadow:inset 1px 1px 6px #fff,2px 3px 3px #8bb1bd35;transition:transform .1s,box-shadow .1s}.bubble-board button.popped{background:#d0e2e855;box-shadow:inset 0 2px 3px #7fa3b444;border-style:dashed;border-color:#abc4cd;transform:scale(.85)}.toy-hint{font-size:11px;line-height:1.6;color:#7b7f74;text-align:center;margin:18px 0 0}.gradient-display{height:230px;border-radius:10px;background:linear-gradient(135deg,#ffc5a9,#a4c5ff);display:grid;place-items:center;margin-top:22px}.gradient-display span{background:#ffffffc9;color:#333;padding:9px 15px;font-family:Georgia,serif;font-style:italic;font-size:20px;border-radius:5px}.color-tools{display:flex;align-items:center;gap:20px;justify-content:space-between;margin:22px 0}.color-tools label,.doodle-toolbar label{font-size:12px;display:flex;align-items:center;gap:8px}input[type=color]{width:34px;height:32px;border:1px solid #bbb;border-radius:5px;padding:2px;background:white;cursor:pointer}.gradient-label{display:block;font-size:11px;color:#74766c;margin-bottom:8px}#gradient-css{width:100%;padding:12px;background:#f0f0e9;border:1px solid #d4d6cb;border-radius:6px;font-family:monospace;font-size:11px}#doodle-canvas{display:block;width:100%;height:auto;border:1px solid #d9d8c8;background:white;border-radius:8px;touch-action:none;cursor:crosshair}.doodle-toolbar{flex-wrap:wrap;justify-content:flex-start}.doodle-toolbar input[type=range]{width:75px;accent-color:#2856db}.doodle-toolbar button:first-of-type{margin-left:auto}#doodle-status{font-size:12px;text-align:center}.noscript-note{text-align:center;padding:20px;font-size:13px}
@media(min-width:1400px){.game-tile{min-height:282px}.tile-art{min-height:154px}}
@media(max-width:950px){.home-wrap{padding:0 22px}.game-grid{gap:14px}.game-tile{padding:16px;min-height:247px}.tile-bottom h2{font-size:21px}.tile-bottom p{font-size:10px}.tile-eyebrow{font-size:8px;letter-spacing:1px}.tile-art{min-height:124px}.pop-letter{right:0;top:22px;font-size:18px}.wrap-sheet{transform:rotate(-13deg) scale(.86)}.swatch{width:70px;height:70px}.swatch-one{transform:translate(-36px,4px)}.swatch-three{transform:translate(36px,10px)}.note-spark.one{left:9px}.note-spark.two{right:9px}.coming-sticker{right:-5px}.pencil{right:20px}.star-one{left:20px}.star-two{right:20px}}
@media(max-width:700px){.site-header{padding:40px 15px 29px}.logo{font-size:36px;letter-spacing:-2px;gap:9px}.logo svg{width:33px;height:33px}.site-header p{font-size:12px}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-wrap{padding:0 16px}.gallery-caption>span{font-size:8px;letter-spacing:.8px}.surprise-button{font-size:11px}.game-tile{min-height:245px}.tile-bottom h2{font-size:21px}.tile-bottom p{font-size:10px}.tile-eyebrow{font-size:7px}.welcome-note{margin-top:38px;gap:15px;padding-bottom:32px}.scribble-star{font-size:45px}.welcome-note h2{font-size:18px}.welcome-note p{font-size:12px}.note-arrow{display:none}.site-footer{margin:0 16px}.toy-dialog{padding:20px}.bubble-board{gap:9px;padding:16px}.color-tools{gap:10px;flex-wrap:wrap}.gradient-display{height:180px}}
@media(max-width:420px){.game-grid{gap:10px}.game-tile{padding:12px;min-height:227px;border-radius:11px}.tile-art{min-height:112px;height:112px}.tile-bottom h2{font-size:18px;letter-spacing:-.5px}.tile-bottom p{font-size:9px}.launch-arrow{width:24px;height:24px;font-size:16px}.tile-eyebrow{font-size:6px;letter-spacing:.65px}.wrap-sheet{transform:rotate(-13deg) scale(.68)}.swatch{width:60px;height:60px;top:20px}.swatch-one{transform:translate(-28px,4px)}.swatch-three{transform:translate(28px,10px)}.envelope{transform:rotate(-9deg) scale(.8)}.note-spark{font-size:19px}.coming-sticker{font-size:6px;right:0;top:65px}.construction{font-size:81px}.pencil{font-size:62px;right:4px}.pop-letter{font-size:14px;right:-4px}.planet{transform:rotate(-25deg) scale(.8)}.soon-label{font-size:6px;padding:4px}.gallery-caption>span{font-size:7px;letter-spacing:.4px}.bubble-board{grid-template-columns:repeat(5,1fr)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}


.logo>span{white-space:nowrap}@media(max-width:420px){.logo{font-size:28px;letter-spacing:-1.8px;gap:8px}.logo svg{width:30px;height:30px}}
