*{box-sizing:border-box}
html{height:100%;overscroll-behavior-y:contain;scroll-behavior:auto}
body{height:100%;margin:0;padding:14px;background:#fff8ec;color:#39445a;font-family:"Trebuchet MS",Arial,sans-serif}
.game{height:100%;max-width:1040px;margin:auto;display:flex;flex-direction:column;gap:8px;text-align:center}
.game-heading{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:12px}
h1{margin:0;color:#7354b8;font-size:clamp(21px,3vw,30px);line-height:1.2}
.subtitle{margin:0;font-size:14px;line-height:1.4;color:#687188}
.game-board{flex:1;display:grid;grid-template-columns:220px minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:20px;min-height:360px}
.character-area{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0}
.character-wrap{position:relative;width:190px;max-width:100%;flex-shrink:0}
#boy{display:block;width:100%;overflow:visible}
#mouth,#sadMouth,#tears{transform-box:fill-box;transform-origin:center}
#sadMouth,#tears{opacity:0;transition:opacity .15s}
#boy.sad #mouth{opacity:0}
#boy.sad #sadMouth,#boy.sad #tears{opacity:1}
#browLeft,#browRight{transform-box:fill-box;transform-origin:center;transition:transform .2s}
#boy.sad #browLeft{transform:rotate(15deg)}
#boy.sad #browRight{transform:rotate(-15deg)}
#boy.open-mouth #mouth{transform:scaleY(1.35)}
#mouth{transition:transform .2s,opacity .15s}
.character-notes{width:100%;display:flex;flex-direction:column;gap:6px}
.speech{min-height:90px;margin:0;padding:10px;border:2px solid #e3d7ff;border-radius:16px;background:white;box-shadow:0 3px 0 #e9e0f9;display:flex;align-items:center;justify-content:center;font-size:15px;line-height:1.4;font-weight:bold;overflow-wrap:break-word}
.speech.sad{border-color:#8bb7e8;color:#345d91}
.drop-message{display:flex;align-items:center;justify-content:center;min-height:42px;padding:6px;background:#f0eaff;border:2px dashed #a58bdd;border-radius:12px;font-size:12px;line-height:1.3;font-weight:bold}
.drop-message.active{background:#dff7e9;border-color:#47ad79}
.spoon-area{min-width:0;min-height:0;display:flex;flex-direction:column;gap:6px}
.section-title{color:#7354b8;font-size:16px;line-height:1.3;margin:0}
.spoons{flex:1;min-height:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(3,minmax(72px,1fr));gap:8px}
.spoon-card{min-width:0;min-height:52px;padding:4px 2px;border:2px solid transparent;border-radius:16px;display:flex;align-items:center;justify-content:center;cursor:grab;user-select:none;touch-action:none;font:inherit;color:inherit;background:transparent;-webkit-appearance:none;appearance:none;transition:background .15s,opacity .15s}
.spoon-card:hover{background:#fff}
.spoon-card:active{cursor:grabbing}
.spoon-card.used{opacity:.3;cursor:default;pointer-events:none;filter:grayscale(1)}
.spoon-visual{width:100%;display:flex;align-items:center;justify-content:center;pointer-events:none}
.spoon-bowl{width:calc(100% - 21px);max-width:112px;min-height:64px;padding:7px 5px;display:flex;align-items:center;justify-content:center;border:3px solid #bda0f2;border-radius:50%;background:linear-gradient(135deg,#fff,#e8dcff);box-shadow:inset 0 -4px 0 #d6c3fa;font-size:13px;font-weight:bold;line-height:1.25;text-align:center;overflow-wrap:break-word;z-index:1}
.spoon-handle{width:25px;flex-shrink:0;height:13px;margin-left:-5px;border:2px solid #bda0f2;border-radius:0 10px 10px 0;background:linear-gradient(#fff,#d6c3fa);transform:rotate(-8deg)}
.game-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
.counter{font-size:14px;font-weight:bold}
.reset{min-height:40px;padding:8px 16px;border:0;border-radius:12px;background:#7354b8;color:white;font:inherit;font-size:14px;font-weight:bold;cursor:pointer}
.reset:hover{background:#5d409f}
.spoon-card:focus-visible,.reset:focus-visible{outline:3px solid #7354b8;outline-offset:2px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.drag-ghost{position:fixed;z-index:9999;pointer-events:none;transform:translate(-50%,-50%) rotate(-8deg) scale(1.08);filter:drop-shadow(0 6px 6px #0002);width:180px;padding:8px;border-radius:20px;background:#fff;border:2px solid #bda0f2;font:inherit;color:#39445a}
.drag-ghost .spoon-bowl{width:112px}
@media(max-width:700px){
 body{padding:8px}
 .game{gap:6px}
 .game-heading{min-height:36px;gap:6px}
 h1{font-size:21px}
 .subtitle{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}
 .game-board{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:6px;min-height:438px}
 .character-area{flex-direction:row;gap:8px}
 .character-wrap{width:104px}
 .character-notes{flex:1;gap:4px}
 .speech{height:78px;min-height:78px;padding:5px 7px;font-size:12px;line-height:1.25;border-radius:13px}
 .drop-message{height:38px;min-height:38px;padding:4px;font-size:11px}
 .section-title{font-size:14px}
 .spoon-area{gap:4px}
 .spoons{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(5,minmax(56px,1fr));gap:4px}
 .spoon-card{padding:2px 0;border-width:1px;border-radius:12px}
 .spoon-bowl{width:calc(100% - 8px);min-height:48px;padding:3px 2px;border-width:2px;font-size:12px;box-shadow:inset 0 -3px 0 #d6c3fa}
 .spoon-handle{width:12px;height:10px}
 .counter{font-size:12px}
 .reset{min-height:36px;padding:6px 10px;font-size:12px}
}
@media(max-width:330px){h1{font-size:18px}.character-wrap{width:96px}.speech{font-size:12px}.spoon-bowl{font-size:11.5px}}
@media(min-width:701px) and (max-height:560px){
 body{padding:6px 10px}
 .game{gap:4px}
 .game-heading{min-height:32px}
 h1{font-size:20px}
 .subtitle,.section-title{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}
 .reset{min-height:32px;font-size:12px;padding:5px 10px}
 .game-board{grid-template-columns:140px minmax(0,1fr);gap:10px;min-height:164px}
 .character-area{gap:2px}
 .character-wrap{width:68px}
 .character-notes{gap:2px}
 .speech{min-height:40px;padding:4px;font-size:11px;line-height:1.25;border-radius:10px;box-shadow:none}
 .drop-message{min-height:24px;padding:2px;font-size:10px;border-width:1px}
 .spoon-area{gap:0}
 .spoons{grid-template-rows:repeat(3,minmax(52px,1fr));gap:4px}
 .spoon-card{padding:0;min-height:48px}
 .spoon-bowl{min-height:46px;width:calc(100% - 12px);padding:3px;border-width:2px;font-size:11.5px}
 .spoon-handle{width:16px;height:10px}
 .counter{font-size:12px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Desktop follows the supplied HTML. Compact phone rules above remain unchanged. */
.desktop-only{display:none}
.hint{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html.desktop-layout{height:auto}
html.desktop-layout body{height:auto;position:relative}
html.desktop-layout .game{height:auto;display:block}
html.desktop-layout .character-wrap{margin-inline:auto;max-width:none}
html.desktop-layout .speech{height:auto}
html.desktop-layout .drop-message{height:auto;display:block;min-height:0}
html.desktop-layout .subtitle,html.desktop-layout .hint,html.desktop-layout .section-title{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}
html.desktop-layout .spoons{flex:none;grid-template-rows:none}
html.desktop-layout .spoon-bowl{max-width:none}
html.desktop-layout .reset{min-height:0;font-family:Arial,sans-serif;line-height:normal}
html.desktop-layout .desktop-only{display:inline}
html.desktop-layout .compact-only{display:none}
html.desktop-layout * {
  box-sizing: border-box;
}html.desktop-layout body {
  margin: 0;
  padding: 20px;
  background: #fff8ec;
  color: #39445a;
  font-family: "Trebuchet MS", Arial, sans-serif;
}html.desktop-layout .game {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}html.desktop-layout h1 {
  color: #7354b8;
  font-size: clamp(26px, 4vw, 38px);
  margin: 8px 0;
}html.desktop-layout .subtitle {
  font-size: 16px;
  line-height: 1.6;
  margin: 8px auto 20px;
}html.desktop-layout .character-area {
  display: flex;
  flex-direction: column;
  align-items: center;
}html.desktop-layout .character-wrap {
  position: relative;
  width: min(300px, 80vw);
}html.desktop-layout #boy {
  display: block;
  width: 100%;
  overflow: visible;
}html.desktop-layout #mouth,html.desktop-layout #sadMouth,html.desktop-layout #tears {
  transform-box: fill-box;
  transform-origin: center;
}html.desktop-layout #sadMouth,html.desktop-layout #tears {
  opacity: 0;
}html.desktop-layout #boy.sad #mouth {
  opacity: 0;
}html.desktop-layout #boy.sad #sadMouth,html.desktop-layout #boy.sad #tears {
  opacity: 1;
}html.desktop-layout #browLeft,html.desktop-layout #browRight {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.2s;
}html.desktop-layout #boy.sad #browLeft {
  transform: rotate(15deg);
}html.desktop-layout #boy.sad #browRight {
  transform: rotate(-15deg);
}html.desktop-layout #boy.open-mouth #mouth {
  transform: scaleY(1.35);
}html.desktop-layout #mouth {
  transition: transform 0.2s, opacity 0.15s;
}html.desktop-layout #sadMouth,html.desktop-layout #tears {
  transition: opacity 0.15s;
}html.desktop-layout .speech {
  width: min(440px, 95%);
  min-height: 58px;
  padding: 14px 18px;
  margin: 8px auto 18px;
  border: 3px solid #e3d7ff;
  border-radius: 20px;
  background: white;
  box-shadow: 0 4px 0 #e9e0f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  line-height: 1.5;
  font-weight: bold;
}html.desktop-layout .speech.sad {
  border-color: #8bb7e8;
  color: #345d91;
}html.desktop-layout .drop-message {
  width: min(500px, 100%);
  padding: 14px;
  margin: 0 auto 22px;
  background: #f0eaff;
  border: 3px dashed #a58bdd;
  border-radius: 18px;
  font-weight: bold;
  line-height: 1.5;
}html.desktop-layout .drop-message.active {
  background: #dff7e9;
  border-color: #47ad79;
}html.desktop-layout .section-title {
  color: #7354b8;
  font-size: 23px;
  margin: 24px 0 6px;
}html.desktop-layout .hint {
  color: #687188;
  font-size: 14px;
  margin-bottom: 16px;
}html.desktop-layout .spoons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 12px;
}html.desktop-layout .spoon-card {
  min-width: 0;
  min-height: 115px;
  padding: 12px 6px;
  border: 2px solid transparent;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
  touch-action: none;
  transition: background 0.15s, opacity 0.15s;
}html.desktop-layout .spoon-card:hover {
  background: white;
}html.desktop-layout .spoon-card:active {
  cursor: grabbing;
}html.desktop-layout .spoon-card.used {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
  filter: grayscale(1);
}html.desktop-layout .spoon-visual {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}html.desktop-layout .spoon-bowl {
  width: 112px;
  min-height: 64px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #bda0f2;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #e8dcff);
  box-shadow: inset 0 -4px 0 #d6c3fa;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
  z-index: 1;
}html.desktop-layout .spoon-handle {
  width: 48px;
  height: 13px;
  margin-left: -5px;
  border: 2px solid #bda0f2;
  border-radius: 0 10px 10px 0;
  background: linear-gradient(#fff, #d6c3fa);
  transform: rotate(-8deg);
}html.desktop-layout .counter {
  margin: 20px 0 12px;
  font-size: 17px;
  font-weight: bold;
}html.desktop-layout .reset {
  padding: 13px 24px;
  margin: 10px 0 20px;
  border: 0;
  border-radius: 14px;
  background: #7354b8;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}html.desktop-layout .reset:hover {
  background: #5d409f;
}html.desktop-layout /* Sürüklenen kaşığın görseli */
.drag-ghost {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-8deg) scale(1.08);
  filter: drop-shadow(0 6px 6px #0002);
  width: 210px;
  padding: 8px;
  border-radius: 20px;
  background: #fff;
  border: 2px solid #bda0f2;
}html.desktop-layout .drag-ghost .spoon-visual {
  pointer-events: none;
}


/* Preserve the original normal-flow geometry across the shared wrappers. */
html.desktop-layout .game-heading,html.desktop-layout .game-board,html.desktop-layout .character-area,html.desktop-layout .character-notes,html.desktop-layout .spoon-area,html.desktop-layout .game-footer{display:contents}
html.desktop-layout h1,html.desktop-layout .section-title{line-height:normal}
html.desktop-layout .subtitle{color:inherit}
html.desktop-layout .drop-message{font-size:inherit}
html.desktop-layout .hint{margin:1em 0 16px}
